Unit's damage detect

the Immortal

I know, I know...
Reaction score
51
How can I detect a unit's damage?
I think it cannot be done without many triggers, but maybe I miss something?
 
C

Chele

Guest
Do you mean the damage a unit normally does (the one that's shown when you select it) or the damage it makes on a particular attack ?
 

the Immortal

I know, I know...
Reaction score
51
I need to calculate damage which hero (only hero) does at the moment (including items, bonuses, buffs & etc.)
For example a BM with 50 base dmg + 10 damage from items + 50% damage from roar = 90 dmg total.
That's all :banghead:
 
N

NiKaNoRoU_Dr

Guest
Dragoooooooonnnnnnnnsssssssss!!!!!!!!

Well, there's a way but u may find it noobish
1.take a critical ability-1 level neutral
2.make dmg multiply 1.00
3.make chance 100%
4.add it to the hero as a default active ability
result:every normal attack the hero does is written by critical above!!!! :D
 

SFilip

Gone but not forgotten
Reaction score
634
there is a way but first tell us what do you need this for?
basically you need to use Specific unit event - <some unit> takes damage and then reffer to the damage with unit - damage taken (real).
 

the Immortal

I know, I know...
Reaction score
51
It's a bit stupid, but I need when the player types "-stats" to show hero damage, life, mana & etc. I don't really need it, but I will be happy iif it could be made
 

emjlr3

Change can be a good thing
Reaction score
395
u can detect a units damage, it however reuires an attack detection system and JASS knowledge
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top