The damagetype "DrainLife", contrary to what it says [wiki=Damage_types]on the wiki[/wiki], does not ignore armor if you have it on. The Drowning damagetype works just fine, it seems, but that comes with its own obituary and I'm looking for something to use in a multipurpose wad.
To test, just load up the provided damageme.pk3, ]give all then ]puke 1. Instead of taking 50 health, it takes 25 and 25 blue armor...
Code:
Code: Select all
#include "zcommon.acs"
script 1 (void)
{
Thing_Damage2(0,50,"DrainLife");
}