• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Question about raids.

Status
Not open for further replies.

shor

New Member
Joined
Jan 2, 2011
Messages
137
Reaction score
0
Location
Poland
Can anyone explain me what exactly means "interval2" and "margin" in raids.xml? And why "interval2", not "interval"?

Example:
XML:
<raid name="Rats" file="Rats.xml" interval2="6000" margin="0" enabled="yes"/>
 
margin - If a raid was executed it takes atleast that time till the next raid
interval2 - The interval or chance which this raid has, to be execute

Calculation of the raid chance:

10000000 * (60 / interval2) has to be bigger than math.random(0, 10000000)
 
Status
Not open for further replies.

Similar threads

Back
Top