A_MinotaurCharge

A_MinotaurCharge
(no parameters) Does nothing if the calling actor has no current target.

Otherwise, if the minotaur's special1 field is greater than 0, spawns a puff (PhoenixPuff in Heretic, PunchPuff in other games), gives it a vertical velocity of 2, and decreases the special1 counter. If the counter was not greater than 0, removes the SKULLFLY and INVULNERABLE flags from the calling actor (normal maulotaurs are invulnerable when charging) and breaks the charge, putting the actor in its See state.


This codepointer is restricted to Minotaur and derived classes.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.