I'm trying to add custom damage messages based on damage type...

I have two questions...

Is this at all possible to use the attack_type value for this (slice, blast,
etc) or
are the dam_type the ones I use?

And either way, what values usually get passed into dt in the dam_message
function?
I'm assuming I could be using ASCII converstions that get into the BIG BIG
ranges.

I've thrown ifs around two copies, one with standard damage, one with my
custom messages, and nothing below 100 works for my customs.  However, if I
throw a WIDE conditional in, then it will work (dt > 0)

I looked up the func calls of dam_message, some included gsns, like
backstab...
and I'm assuming one could easily extrapolate dt to accept spell attack_type

+ >if (dt == 0 || dt == TYPE_HIT)
+ {
 if  ( dam ==   0 ) { vs = "miss";    vp = "misses";  }
...
.






Reply via email to