A_CStaffCheck

From ZDoom Wiki
Jump to navigation Jump to search

A_CStaffCheck

(no parameters)

If the target is within 96 units, this deals a base of 20 damage to the said target, healing the weapon's wielder with the amount of damage that was dealt, also putting weapon into the Drain state.

This codepointer is restricted to CWeapStaff and derived classes.