A_FireConePL1

From ZDoom Wiki
Jump to navigation Jump to search

A_FireConePL1
(no parameter)

Plays the sound "MageShardFire" on the WEAPON channel and then checks to see if any monster is in melee range up to 45 degrees to the left of the player. If so a melee attack doing 90-115 points of ice damage is done.

Should the melee attack fail, the function fires a FrostMissile and sets its special1 to spawn missiles in all 4 directions, and sets special2 to 3 which indicates how many times the missile should reproduce with A_ShedShard. The first argument of the missile is also set to 3.

This codepointer is restricted to MWeapFrost and derived classes.