Mana using like ammo

Status
Not open for further replies.
Level 4
Joined
Apr 24, 2008
Messages
94
I dont know how to use mana as ammo if you have ammo in your inventory after you killed all your mana 0 and you will need use ammo and mana now full again how to do that?
 
I can't understand what you are saying, it's fairly bad explained, but I think what you want to do is make a unit waste mana whenever it attacks.

Basically, create a hidden spellbook with the 'Searing Arrows' ability in it. Then set the manacost of Searing Arrows to the mana you want wasted per shot, set the additional damage to 0, and change the missile art to that of your unit. Also, do not forget to set that the unit should have the spell on autocast by default.

Then, simply make that ammo which you'd need to reload a mana potion, so it has the same effect. To prevent units from attacking while they have no ammo, use:

  • Events
    • Unit - A Unit is being attacked
  • Conditions
    • Mana of (Attacking Unit) is less than 1
  • Actions
    • Unit - Order (Attacking Unit) to stop
 
"Unit - Set mana of (Attacking unit) to mana of (Attacking unit) -1" I cant put -1 number it wont write there :S
 
Status
Not open for further replies.
Back
Top