actor Magnetman : CustWepClassBase
{
Player.ScoreIcon "C_03B0X"
player.displayname "Magnetman"
player.soundclass "magnetmanc"

player.maxhealth 1000
health 1000
player.jumpz 12
player.forwardmove 0.8, 0.8
player.sidemove 0.78, 0.78

player.startitem "CBM_BaseFlagPack"

player.startitem "Magnetman_W"
player.startitem "PullCharge", 14


player.startitem "ThunderBeamWeakness"
player.startitem "SparkShockWeakness"//
player.startitem "ThunderBoltWeakness"
player.startitem "ThunderClawWeakness"
player.startitem "LightningBoltWeakness"
player.startitem "PlugBallWeakness"
player.startitem "ThunderWoolWeakness"
player.startitem "ElectricShockWeakness"
States
{
Spawn:
MAGM A 0
MAGM B 1
MAGM A 1
Goto Spawn+2
See:
MAGM BCDE 5
Goto Spawn
Missile:
MAGM F 0 A_JumpIfInventory("VivifyDelay4",1,"MagnetPull")
MAGM F 5
Missile2:
MAGM G 4
goto Spawn
MagnetPull:
MAGM RRSS 1 A_JumpIfInventory("VivifyDelay5",1,"Missile2")
loop
ClassPain:
MAGM H 0
goto MegamanPain
ClassDeath:
MAGM H 0
goto MegamanDeath
}
}