|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Phoenix rod projectile
|
Actor type
|
Explosive
|
Game
|
(Heretic)
|
DoomEd Number
|
None
|
Class Name
|
PhoenixFX1
|
Spawn ID
|
163
|
Identifier
|
T_PHOENIXSHOT
|
Classes: PhoenixFX1
The exploding projectile from the phoenix rod. On a direct impact, D'Sparil has a 37.5% chance of avoiding any damage and attempting teleportation; the damage is avoided even if the attempted teleportation fails. The native action A_PhoenixPuff spawns two PhoenixPuff actors and sends them moving to either sides of the projectile.
ACTOR PhoenixFX1 native
{
Radius 11
Height 8
Speed 20
Damage 20
DamageType Fire
Projectile
+THRUGHOST
+SPECIALFIREDAMAGE
SeeSound "weapons/phoenixshoot"
DeathSound "weapons/phoenixhit"
Obituary "$OB_MPPHOENIXROD"
action native A_PhoenixPuff();
States
{
Spawn:
FX04 A 4 Bright A_PhoenixPuff
Loop
Death:
FX08 A 6 Bright A_Explode
FX08 BC 5 Bright
FX08 DEFGH 4 Bright
Stop
}
}