actor RockClass : ClassBase //90
{
Player.StartItem "IFMM00", 1
Player.ScoreIcon "C_00D0X"
player.displayname "Rock"
player.soundclass "rockc"
player.startitem "MegaBallBoss"
player.startitem "LMSRockBallPickup"
player.startitem "LMSRockBallPickup2"
player.startitem "RockFlag"
player.startitem "CanUseItems"
player.startitem "BallsOfSteelAmmo", 444

player.maxhealth 90
health 90
player.forwardmove 0.825, 0.825
player.sidemove 0.805, 0.805
player.jumpz 11

player.weaponslot 0, "MegaBallBoss"
player.weaponslot 1, "MegaCutBallBoss"
player.weaponslot 2, "MegaGutsBallBoss"
player.weaponslot 3, "MegaIceBallBoss"
player.weaponslot 4, "MegaBombBallBoss"
player.weaponslot 5, "MegaFireBallBoss"
player.weaponslot 6, "MegaElecBallBoss"
player.weaponslot 7, "MegaTimeBallBoss"
player.weaponslot 8, "MegaOilBallBoss"

//player.startitem "CopyNerf"
States
{
Spawn:
ROCK A 0
ROCK B 1
ROCK A 1
Goto Spawn+2
See:
ROCK BCDE 5
Goto Spawn
Missile:
ROCK F 0// A_JumpIfInventory("RockSlide",1,"Slide")
ROCK FFFFF 1
ROCK GGGGG 1
goto Spawn+2
Slide:
ROCK G 20
goto Spawn
ClassPain:
ROCK H 0
goto PainContinue
ClassDeath:
ROCK H 0
goto DeathContinue
}
}

//protects
actor MegaBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "Rock_MegaBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor CutBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaCutBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor IceBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaIceBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor FireBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaFireBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor GutsBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaGutsBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor ElecBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaElecBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor BombBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaBombBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor OilBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaOilBall", 0.34
DamageFactor "Rock_Kick", 0.5
}
actor TimeBallProtect : PowerProtection
{
Powerup.Duration 15
DamageFactor "MegaTimeBall", 0.67
DamageFactor "Rock_Kick", 0.5
}