• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Need Help: Calculate damage

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2005
Messages
25
I need some help from some experienced fella. I've been making maps for 2 years now and I'm able to guess out most of dota's triggers in GUI. However, i can't seem to understand how Amphrotic Shield (Lord of Avernus) works and how can I calculate damage taken by an attack or a spell so I can store it in a variable.
Any help would be really thankful.
And please tell me ONLY if you know how to do it in GUI, I'm not used 100% to JASS yet so don't even mention it.
 
Level 3
Joined
Sep 9, 2005
Messages
25
The problem is that it took me so much time to learn GUI well and I don't have the time to spend the same to learn Jass. Anyways thnx for the help.
 
Level 10
Joined
Nov 10, 2004
Messages
351
Making an Any unit takes damage event isn't like eating cherry pie, and using that much effort would be wasted.(also aphotic shield actually havent got a buff^^) and heal it asap doesent work, you need a damage modify function, else it wont work when the unit has full hp.
and btw, a proper Any unit takes damage system uses local triggers.
 
Status
Not open for further replies.
Top