- Joined
- Jun 27, 2010
- Messages
- 3,258
I want to count spent gold in the multiboard. I tried with this trigger, but it's not working. Do you have any idea how to do it?
-
gold in multiboards
-

Events
-


Unit - A unit Sells an item (from shop)
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Or - Any (Conditions) are true
-





Conditions
-






(Item-type of (Sold Item)) Equal to RING_AGI[1]
-






(Item-type of (Sold Item)) Equal to RING_ATTACK[1]
-






(Item-type of (Sold Item)) Equal to RING_ATTACK[1]
-






(Item-type of (Sold Item)) Equal to RING_HASTE[1]
-






(Item-type of (Sold Item)) Equal to RING_INT[1]
-






(Item-type of (Sold Item)) Equal to RING_MANA_RG[1]
-






(Item-type of (Sold Item)) Equal to RING_MOB[1]
-






(Item-type of (Sold Item)) Equal to RING_PROT[1]
-






(Item-type of (Sold Item)) Equal to RING_REGEN[1]
-






(Item-type of (Sold Item)) Equal to RING_STAMINA[1]
-






(Item-type of (Sold Item)) Equal to RING_STR[(Integer A)]
-






(Item-type of (Sold Item)) Equal to RING_WISDOM[(Integer A)]
-






(Item-type of (Sold Item)) Equal to Upgrade
-
-
-
-



Then - Actions
-




Set ML_Gold_Spent[(Player number of (Owner of (Buying unit)))] = (ML_Gold_Spent[(Player number of (Owner of (Buying unit)))] + 200)
-
-



Else - Actions
-
-


Multiboard - Set the text for Multiboard item in column 5, row (Player number of (Owner of (Buying unit))) to (String(ML_Gold_Spent[(Player number of (Owner of (Buying unit)))]))
-
-











