Talk:Undead warrior
From DoomWiki.org
Ghosts and axes[edit]
Here is the code for the red axe, straight from Heretic's INFO.C:
{ // MT_REDAXE
-1, // doomednum
S_REDAXE1, // spawnstate
1000, // spawnhealth
S_NULL, // seestate
0, // seesound
8, // reactiontime
sfx_None, // attacksound
S_NULL, // painstate
0, // painchance
sfx_None, // painsound
S_NULL, // meleestate
S_NULL, // missilestate
S_NULL, // crashstate
S_REDAXEX1, // deathstate
S_NULL, // xdeathstate
sfx_hrnhit, // deathsound
9*FRACUNIT, // speed
10*FRACUNIT, // radius
8*FRACUNIT, // height
100, // mass
7, // damage
sfx_None, // activesound
MF_NOBLOCKMAP|MF_MISSILE|MF_DROPOFF|MF_NOGRAVITY, // flags
MF2_NOTELEPORT|MF2_THRUGHOST // flags2
},
Emphasis mine on the MF2_THRUGHOST. Red axes, whether from a ghost warrior or an undead warrior, cannot harm ghosts. The green axe has the same flag as well, by the way. --Gez 13:03, April 16, 2010 (UTC)
