johnnymra
New Member
- Reaction score
- 14
In different triggers which make chances for spells, i want to know which report is better to be used in the Integers. (and i mean only the chances that use integers, not real numbers)
To be clearer i will give an example... with let's say 30% chance of something.
1)
2)
Which of those is better... is there any difference between them? (i know that in theory they mean the same... but in the triggers... does it matter which form i use?) And i only ask it for integers, not numbers like 35% or so...
To be clearer i will give an example... with let's say 30% chance of something.
1)
Actions
Set Integer_A = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer_A Less than or equal to 30
Then - Actions
-------- actions --------
Else - Actions
2)
Actions
Set Integer_A = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer_A Less than or equal to 3
Then - Actions
-------- actions --------
Else - Actions
Which of those is better... is there any difference between them? (i know that in theory they mean the same... but in the triggers... does it matter which form i use?) And i only ask it for integers, not numbers like 35% or so...