- Joined
- Jun 27, 2010
- Messages
- 2,707
I changed the lumber panel to show overall damage done. An I have leaderboard where also the damage shows. But in the lumber panel the numbers become way bigger The normal damage is like 1-2-3k while the damage in lumber bar is like 30k+. Why? Where I am wrong here:
btw I use DDS
-
damage detect
-
Events
- Game - damageEventTrigger becomes Equal to 1.00
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (target has buff Power Word: Shield ) Equal to False
- (target has buff Frost Armor) Equal to False
- (target has buff Fel Armor ) Equal to False
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set DAMAGE_DONE[(Player number of (Owner of source))] = (DAMAGE_DONE[(Player number of (Owner of source))] + (Integer(amount)))
- Set DAMAGE_DONE_OVERALL[(Player number of (Owner of source))] = (DAMAGE_DONE_OVERALL[(Player number of (Owner of source))] + DAMAGE_DONE[(Player number of (Owner of source))])
- Leaderboard - Change the value for Players[(Player number of (Owner of source))] in Leaderboard to DAMAGE_DONE[(Player number of (Owner of source))]
- Player - Set (Owner of source) Current lumber to (((Owner of source) Current lumber) + DAMAGE_DONE_OVERALL[(Player number of (Owner of source))])
- Leaderboard - Sort Leaderboard by Value in Descending order
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
btw I use DDS