A_ClassBossHealth

From ZDoom Wiki
Revision as of 12:33, 24 August 2014 by Cpt. Carmack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_ClassBossHealth

(no parameters)

Multiplies the health of the calling actor by 5 when playing cooperative and sets the calling actor special1 field to 1, but only if it was equal to 0 beforehand. Otherwise it does nothing.

Examples

This demon can heal itself when heavily wounded, but only once.

Actor ToughDemon : Demon
{
	Health	500
	WoundHealth	100
	States
	{
		Wound:
		"----" A 5 A_ClassBossHealth
		goto See
	}
}