actor Knightman : CustWepClassBase
{
Player.ScoreIcon "C_06D0X"
player.displayname "Knightman"
player.soundclass "knightmanc"

player.maxhealth 1150
health 1150
player.jumpz 12
player.forwardmove 0.65, 0.65
player.sidemove 0.57, 0.57

player.startitem "CBM_BaseFlagPack"

player.startitem "Knightman_W"
player.startitem "TisButAScratchAmmo", 21


player.startitem "NeedleCannonWeakness"
player.startitem "QuickBoomerangWeakness"
player.startitem "YamatoSpearWeakness"//
player.startitem "SpreadDrillWeakness"
player.startitem "TripleBladeWeakness"

States
{
Spawn:
KNIM A 0
KNIM B 1
KNIM A 1
Goto Spawn+2
See:
KNIM BCDE 5
Goto Spawn
Missile:
KNIM F 5
KNIM G 0 A_JumpIfInventory("VivifyDelay7",1,"Missile2")
KNIM GGGGG 1 A_JumpIfInventory("VivifyFlag1",1,"MissileH")
goto Spawn
MissileH:
KNIM I 1
KNIM III 1 A_JumpIfInventory("VivifyFlag1",1,"MissileH")
KNIM GF 3
goto Spawn
Missile2:
KNIM J 6
KNIM F 4
goto Spawn

ClassPain:
KNIM H 0 A_JumpIfInventory("VivifyFlag1",1,"MissileH")
goto MegamanPain
ClassDeath:
KNIM H 0
goto MegamanDeath
}
}
