- Joined
- Dec 9, 2014
- Messages
- 176
I need to know if it's going to cause any problems with other rolls involving the same units when they die? I'm not using the same integer variables for them or anything. Players 9, 10, and 12 are basic enemy units. I will be making player 11 own bosses and special units.
-
Rare World Drops
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Owner of (Triggering unit)) Equal to Player 9 (Gray)) or (((Owner of (Triggering unit)) Equal to Player 10 (Light Blue)) or ((Owner of (Triggering unit)) Equal to Player 12 (Brown)))
-
-
Actions
-
Set RareWorldDropsRoll[1] = (Random integer number between 1 and 1000)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RareWorldDropsRoll[1] Equal to 500
-
-
Then - Actions
-
Item - Create |cff0033CCTybalt's Mechanical Penguin|r at (Position of (Triggering unit))
-
-
Else - Actions
-
-
Set RareWorldDropsRoll[2] = (Random integer number between 1 and 500)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RareWorldDropsRoll[2] Equal to 250
-
-
Then - Actions
-
Item - Create Recipe: Wool Bandages at (Position of (Triggering unit))
-
-
Else - Actions
-
-
-