WackO_WilL
New Member
- Reaction score
- 4
I have a survivor map that I'm working on, and you lose mana over time for cold. Well, I wanted to use Items, like Coats to help slow the mana loss. So i set my mana -2.00 regen on unit. and now i need a trigger that adds to mana, But it never works out, Heres what I have,
and finally
anyone know what im doing wrong? D:
Code:
Red Pick up Thin Shirt
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
((Triggering unit) Equal to Marooned Survivor 0001 <gen>) and ((Item-type of (Item being manipulated)) Equal to Thin Shirt)
Actions
Trigger - Turn on Thin Shirt Red Regen <gen>
Code:
Thin Shirt Red Regen
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit - Set mana of (Triggering unit) to (1.00 + (Mana of Marooned Survivor 0001 <gen>))
and finally
Code:
Red Drop Thin Shirt
Events
Unit - A unit owned by Player 1 (Red) Loses an item
Conditions
((Triggering unit) Equal to Marooned Survivor 0001 <gen>) and ((Item-type of (Item being manipulated)) Equal to Thin Shirt)
Actions
Trigger - Turn off Thin Shirt Red Regen <gen>
anyone know what im doing wrong? D: