Scary Nachos
Castro flashing Gang Signs!
- Reaction score
- 45
Hello! I got a question about math problems in Wc3. I was wondering, if WE is good at math. Like.. uses the order of operations. Like... If you had a trigger like this.
(The stuff is wrong but the concept is still the same)
So if i had that, what will WE do first? Will it Add 1000 to reds gold. then divide by 2? Then add Blues gold?
Or will WE divide 1000/2 then add that stuff on?
Do the '( )' even do anything to the math?
Need help +Rep
Thanks
Trigger:
- Untitled Trigger 001 Copy
- Events
- Player - Player 2 (Blue) leaves the game
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Player 2 (Blue) slot status) Equal to Has left the game
- Then - Actions
- Player - Set Player 2 (Blue) Current gold to (((Player 1 (Red) Current gold) + 1000) / (2 + (Player 2 (Blue) Current gold)))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
(The stuff is wrong but the concept is still the same)
So if i had that, what will WE do first? Will it Add 1000 to reds gold. then divide by 2? Then add Blues gold?
Or will WE divide 1000/2 then add that stuff on?
Do the '( )' even do anything to the math?
Need help +Rep
Thanks