- Joined
- Jan 22, 2010
- Messages
- 2,583
Alright. I have one question.
Does this action:
For % chance triggers, like this:
Hence, using:
Am I right? Or does using (Random integer between 1 and 100) work and gives you all 100 integers?
Does this action:
- Set Temp_Integer = (Random integer between 1 and 100)
For % chance triggers, like this:
-
Item Drop Chance
-
Events
- Unit - A unit dies
-
Conditions
- (Unit-type of (Triggering Unit)) Equal to Footman
-
Actions
- Set Temp_Integer = (Random integer between 1 and 100)
-
If (All Conditions) are True, Then (Then Actions), Else (Else Actions)
-
If - Conditions
- Temp_Integer Less than 6 // Simply a 5% chance
-
Then - Actions
- Item - Create Claws of Attack +3 at (Position of (Triggering unit))
-
Else - Actions
- Game - Game - Show a text message to (All Players): Haha you suck; you didn't get an item.
-
If - Conditions
-
Events
Hence, using:
- Set Temp_Integer = (Random integer between 0 and 101)
Am I right? Or does using (Random integer between 1 and 100) work and gives you all 100 integers?