actor IceSlasherWep : MegaBuster 10045
{
Weapon.AmmoUse 1
Weapon.AmmoGive 28
Weapon.SlotNumber 3
Obituary "%o was frozen by %k's Ice Slasher."
Inventory.Pickupmessage "Power up! Ice Slasher!"
weapon.ammotype "IceAmmo"
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
inventory.icon "ICESI"
Scale 2.0
States
{
Spawn:
WEAP P 1
loop
Ready:
BLIZ D 0 ACS_ExecuteAlways(998,0,15)
BLIZ D 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
BLIZ D 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
BLIZ D 1 A_Raise
Loop
Fire:
BLIZ D 0 A_JumpIfNoAmmo("NoAmmo")
BLIZ D 0 A_PlaySoundEx("weapon/iceslasher","Weapon")
BLIZ D 0 A_FireCustomMissile("IceSlasher",0,1,8,0)
BLIZ EFD 3
BLIZ D 0 A_Refire
Goto Ready+1
NoAmmo:
BLIZ D 1 ACS_Execute(979,0)
Goto Ready+1
}
}

actor IceAmmo : Ammo
{
inventory.amount 1
inventory.maxamount 28
}


actor IceSlasher
{
PROJECTILE
Radius 5
Height 5
scale 2.5
damagetype "Ice2"
damage (11)
+RIPPER
speed 22
States
{
Spawn:
ICES AB 3
loop
}
}