actor Magmaman : CustWepClassBase
{
Player.ScoreIcon "C_09G0X"
player.displayname "Magmaman"
player.soundclass "magmamanc"

player.maxhealth 1250
health 1250
player.jumpz 14
player.forwardmove 0.7, 0.7
player.sidemove 0.68, 0.68

player.startitem "CBM_BaseFlagPack"

player.startitem "MagmaMan_W"
player.startitem "VolcanicBreakfastAmmo", 96


player.startitem "AirShooterWeakness"
player.startitem "WindStormWeakness"
player.startitem "TornadoHoldWeakness"
player.startitem "TenguBladeWeakness"
player.startitem "TornadoBlowWeakness"//
player.startitem "WaterShieldWeakness"
player.startitem "SaltWaterWeakness"
player.startitem "MegaWaterSWeakness"
player.startitem "HyperStormHWeakness"

States
{
Spawn:
MGMA A 0
MGMA B 1 A_JumpIfInventory("MagmamanIsIdle_F",0,"MissileIgnite")
MGMA A 1 A_JumpIfInventory("MagmamanIsIdle_F",0,"MissileIgnite")
wait
See:
MGMA BCDE 5 A_JumpIfInventory("MagmamanIsIdle_F",0,"MissileIgnite")
Goto Spawn
Melee:
MGMA F 0
goto Missile
Missile:
MGMA FG 5
goto Spawn
MissileIgnite:
MGMA RS 2
MGMA RS 2 A_JumpIfInventory("MagmamanIsIdle_F",0,"MissileIgnite")
goto Spawn+2
ClassPain:
MGMA H 0
goto MegamanPain
ClassDeath:
MGMA H 0
goto MegamanDeath
}
}