| 05-25-2006, 10:47 PM | #1 | |
How do I make it so each time a unit attacks, they lose a specific amount of mana? I've tried making adjusting flaming arrows to do this, but it doesn't work right. I've tried a trigger, but I can't seem to get it to work right. Quote:
Can someone please help me make this work right. Is there an ability I can modify? What? |
| 05-25-2006, 10:51 PM | #2 |
You may have forgotten to unpause the unit. Another thing is that because the mana reduced is so low, the regen covers it up, so u cant see anything. If i am not wrong, when u cast a damaging spell, you may run into the mana depletion trigger again. |
| 05-25-2006, 10:53 PM | #3 | ||
Quote:
That event triggers when a unit is issued an order. I assume you want the trigger to drain mana every time the unit attacks: Quote:
This will drain 2 mana every time a unit attacks untill its mana reaches 0. When that happens, the unit will be paused. |
| 05-25-2006, 11:00 PM | #4 |
OH THANK YOU! |
| 05-25-2006, 11:39 PM | #5 |
Also, please use [trigger] tags rather than [quote] tags. |
| 05-26-2006, 12:14 AM | #6 |
Just for future reference, this is my trigger. It works perfectly. Maybe it should go into the trigger database: Trigger for Subtracting Mana each time a Unit Attacks: Trigger: attackmana
there, :P in ur precious trigger tag :P :D Edit: just to clarify I was just teasin ;D |
