<
 
HammerKnight
 

File

Flags

Properties

//$categoryMonsters
activesound"knight/active"
deathsound"knight/death"
health500
height64
hitobituary"$OB_KNIGHTHIT"
mass1000
obituary"$OB_KNIGHT"
painchance50
painsound"knight/pain"
radius24
seesound"knight/sight"
speed8

States

Spawn: HMBR AB 10 A_Look Loop See: HMBR AABBCCDD 3 A_Chase Loop Melee: HMBR FF 2 A_FaceTarget HMBR G 8 A_CustomMeleeAttack(random(1, 8),"baron/melee","none") HMBR G 8 Goto See Missile: TNT1 A 0 A_JumpIfCloser(1536, "YesMissile") Goto See YesMissile: TNT1 A 0 A_JumpIf(z-floorz > 1, "See") TNT1 A 0 A_JumpIfTargetInsideMeleeRange("Melee") TNT1 A 0 ThrustThingZ (0, 35, 0, 1) HMBR EF 2 A_FaceTarget TNT1 A 0 A_CheckRange (256,"Missile_Mid_1") Missile_Low: HMBR G 8 A_CustomMissile("Hammer_Proj",48,0,0,CMF_OFFSETPITCH,12) HMBR G 8 Goto See Missile_Mid_1: TNT1 A 0 A_CheckRange (512,"Missile_Mid_2") HMBR G 8 A_CustomMissile("Hammer_Proj",48,0,0,CMF_OFFSETPITCH,20) HMBR G 8 Goto See Missile_Mid_2: TNT1 A 0 A_CheckRange (1024,"Missile_Long") HMBR G 8 A_CustomMissile("Hammer_Proj",48,0,0,CMF_OFFSETPITCH,28) HMBR G 8 Goto See Missile_Long: HMBR G 8 A_CustomMissile("Hammer_Proj",48,0,0,CMF_OFFSETPITCH,45) HMBR G 8 Goto See Pain: HMBR H 2 HMBR H 2 A_Pain Goto See Death: TNT1 A 0 A_JumpIf(CallACS("DisScore")==1, "DeathNormal") TNT1 A 0 A_SpawnItemEx ("1000_Score", 0, 0, 32, 0, 0, 1) DeathNormal: TNT1 A 0 A_GiveToTarget("ScoreItem", 1000) TNT1 AAA 0 A_SpawnItemEx("Coin_disappear", 0, 0, random (8, 40), random (2, 3), 0, random (4, 6), random(0, 360)) HMBR I 8 HMBR J 8 A_Scream HMBR K 8 HMBR L 8 A_NoBlocking HMBR MN 8 HMBR O -1 Stop Raise: HMBR O 8 HMBR NMLKJI 8 Goto See

Class Hierarchy

Classes defined in \DEC_ENEM