Fire damage would result in a blackened corpse, cold frozen, etc. I know how to do all that.
But before I go barking up the wrong tree, can damage type only be detected properly in the on damaged? At last check the on death script didnt seem like it would work for some reason.
It's going to be essentially (if it can be done on death, which is ideal)
get damage type from last_attacker begin case "damage type" fire: doburntVFX; cold: dofrozenVFX; end case
If it cant I imagine it becomes more complex as I have to check if the blow killed them in the on damaged script. Although I guess I could simply start tinting them when they are near death, say less than 20%. Could be cool.
However... I want to try and implement Infinity's "exploding bag of body parts" when a creature takes a crushing final hit, so I still need to know about the death, and if it can be done on death.





Retour en haut






