Since HexenArmor's save value changes with each hit, we'll need to retrieve this each time we use a damage formulae.
Obviously, my first thought was to use NamedExecuteWithResult ACS call with something simple like:
Code: Select all
script "CheckPlayerArmour" (void)
{
SetResultValue(GetArmorInfo(ARMORINFO_SAVEPERCENT));
}
So I'm guessing that the function only covers BasicArmor, or I'm doing something stupid with it. Anyone have any ideas?
I'll also happily accept a ZScript solution but can't think of one myself since my ZSC knowledge is pretty rudimentary.

Thanks in advance.
