Damage (by jesus4lyf)

hgkjfhfdsj

Active Member
Reaction score
55
how can you convert
JASS:
Damage_GetType()

to string for debug? is it possible? and how can you determine its a normal attack damage not spell
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, you can't do that directly...

But why not just use "If"s to check the different damagetypes ? :eek:
 

hgkjfhfdsj

Active Member
Reaction score
55
darn xD do you know what damagetype damage uses? like the whole list?
- universal
- magic
- normal
am i missing anything else?

edit > if damage is from attack does Damage_GetType() return null?
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
edit > if damage is from attack does Damage_GetType() return null?
It returns DAMAGE_TYPE_NORMAL.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top