A_WizAtk3

From ZDoom Wiki
Jump to navigation Jump to search

A_WizAtk3
(no parameters)

Calls A_GhostOff. If the calling actor has no valid target, does nothing else. Otherwise, plays the attack sound on the WEAPON channel.

If the target is within melee range, it receives 4d8 damage. Otherwise, fires three WizardFX1, one straight at the target and the two others on either sides at 5.625° angles, with the same vertical velocity.

This codepointer is restricted to Wizard and derived classes.