callbackOnDealDamage Question
Posted: Thu Feb 04, 2016 2:51 pm
So, the wiki cites callbackOnDealDamage as working like this:
My question is: does the val value only contain the float of the damage dealt or does it also contain other info such as the damage type? I'm trying to make an ability similar to natural acid/corrosive nature, so I need to know what dam type the damage is.
Code: Select all
callbackOnDealDamage(val, self, dead, death_note)
val(damage dealt)