Classes:PhoenixRodPowered
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Tomed phoenix rod | |||
---|---|---|---|
Actor type | Weapon | Game | (Heretic) |
DoomEd Number | None | Class Name | PhoenixRodPowered |
Classes: Inventory→Weapon→PhoenixRod→PhoenixRodPowered
When the tome of power is activated, the phoenix rod fires a short-range, continuous stream of flames. Be careful not to refire on a close enemy after the tome has run out of time, though.
DECORATE definition
ACTOR PhoenixRodPowered : PhoenixRod native { +WEAPON.POWERED_UP +WEAPON.MELEEWEAPON Weapon.SisterWeapon "PhoenixRod" Weapon.AmmoGive 0 Tag "$TAG_PHOENIxRODP" action native A_InitPhoenixPL2(); action native A_FirePhoenixPL2(); action native A_ShutdownPhoenixPL2(); States { Fire: PHNX B 3 A_InitPhoenixPL2 Hold: PHNX C 1 A_FirePhoenixPL2 PHNX B 4 A_ReFire Powerdown: PHNX B 4 A_ShutdownPhoenixPL2 Goto Ready } }