• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Combat - Shields Leeched from Damage

Status
Not open for further replies.
Level 1
Joined
Oct 29, 2010
Messages
1
Hey, a few questions for any knowledgable folks around the place:

I'm a newbie to the editor, and Im working on creating a Hero that uses Shields as his resource instead of energy, and leeches shields back from the damage he deals (spell/splash).

Seems fairly simple right? Considering most of the fields I need to alter are found under the Unit itself.

The problem Im finding is that the leech seems to occur before the ability cost is taken. Let me give you an example:

I start with 100 Shields.
I use ability X which deals 20 damage and uses 20 shields to cast.
I now have 80 shields left.

Im pretty sure that's what's happening - the ability cost is being applied after the leech, which means my Hero can never reach full shields!

It's frustrating, and Im too noob to know a way around it.

Any ideas?

Much appreciated!
 
Status
Not open for further replies.
Top