actor Shadowman : CustWepClassBase
{
Player.ScoreIcon "C_03H0X"
player.displayname "Shadowman"
player.soundclass "Shadowmanc"

player.maxhealth 700
health 700
player.jumpz 15
player.forwardmove 0.8, 0.8
player.sidemove 0.78, 0.78

player.startitem "CBM_BaseFlagPack"

player.startitem "Shadowman_W"
player.startitem "CloakAmmo", 48
player.startitem "CaltropAmmo", 116
player.startitem "ShadowmanItem"
player.startitem "WallJumpLimit", 6


player.startitem "TopSpinWeakness"//
player.startitem "ChargeKickWeakness"
player.startitem "SlashClawWeakness"
player.startitem "FlameSwordWeakness"
player.startitem "BreakDashWeakness"
player.startitem "BusterRodGWeakness"

States
{
Spawn:
SHAM A 0
SHAM B 1
SHAM A 1
wait
See:
SHAM BCDE 5
Goto Spawn
Melee:
SHAM RRR 1 A_JumpIfInventory("ShadowSlide",1,"MissileSlide")
SHAM S 5
goto Spawn
Missile:
SHAM F 0 A_JumpIfInventory("ShadowSlide",1,"MissileSlide")
SHAM F 5
SHAM G 4
goto Spawn
MissileSlide:
SHAM Q 23
goto Spawn+2
ClassPain:
SHAM H 0
goto MegamanPain
ClassDeath:
SHAM H 0
goto MegamanDeath
}
}
