- Joined
- Mar 16, 2008
- Messages
- 955
I tried to make an ankh that has charges/stacks, with a cooldown, but no ability seems to fit that. Also I didn't wanna just do it completely by triggers because the defeat trigger is if this hero dies. So I made an item based off tauren chieftan rez, made the item undroppable so the CD doesn't reset, but the best I could do it this crappy trigger I have below that requires atlesat 2 stacks of this ankh to be in their inventory. Can anyone think of a way to improve this situation? The players of my map and myself would greatly appreciate it.
I hope this makes sense i'm really sleepy.
I hope this makes sense i'm really sleepy.
-
Blank Ankh Used Yellow
-
Events
-
Conditions
-
(Player 5 (Yellow) is in Black_Group_Var.) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item: (Item carried by Yellow_Hero of type Midnight Ankh)'s Integer Field: Number of Charges ('iuse')) Equal to 1
-
-
Then - Actions
-
Item - Remove (Item carried by Yellow_Hero of type Midnight Ankh)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item: (Item carried by Yellow_Hero of type Midnight Ankh)'s Integer Field: Number of Charges ('iuse')) Greater than 1
-
-
Then - Actions
-
Item - Set charges remaining in (Item carried by Yellow_Hero of type Midnight Ankh) to ((Charges remaining in (Item carried by Yellow_Hero of type Midnight Ankh)) - 1)
-
Countdown Timer - Start Black_Ankh_CD_Timer_Yellow as a One-shot timer that will expire in 180.00 seconds
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
-
-
-
Blank Ankh Used CD Over Yellow
-
Events
-
Time - Black_Ankh_CD_Timer_Yellow expires
-
-
Conditions
-
(Player 5 (Yellow) is in Black_Group_Var.) Equal to True
-
-
Actions
-
Trigger - Turn on Blank Ankh Used Yellow <gen>
-
-