- Joined
- Dec 2, 2016
- Messages
- 733
First question before my issues, how do you check what color a player is who triggered an event, like buying an item, unit etc.
And
I'm trying to create an item, that when you have it gives you gold each minute.
This what I have currently.
Doesn't seem to be working.
And
I'm trying to create an item, that when you have it gives you gold each minute.
This what I have currently.
-
Buy Urn
-
Events
-
Unit - Vampire Items Merchant 0002 <gen> Sells an item (from shop)
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Sold Item)) Equal to Urn of Dracula
-
(Unit-type of (Triggering unit)) Equal to Dracula
-
-
Then - Actions
-
Set BrownURN = True
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Sold Item)) Equal to Urn of Dracula
-
(Unit-type of (Triggering unit)) Equal to Dracula
-
-
Then - Actions
-
Set DGURN = True
-
-
Else - Actions
-
-
-
-
Urn Income Code
-
Events
-
Time - Every 15.00 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BrownURN Equal to True
-
-
Then - Actions
-
Player - Add 25 to Player 12 (Brown) Current gold
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
DGURN Equal to True
-
-
Then - Actions
-
Player - Add 25 to Player 11 (Dark Green) Current gold
-
-
Else - Actions
-
-
-
Doesn't seem to be working.