actor SlashClawWep : MegaBuster 10088
{
Weapon.AmmoUse 1
Weapon.AmmoGive 112
Weapon.SlotNumber 4
Obituary "%o was slashed by %k's slash claw."
Inventory.Pickupmessage "Power up! Slash Claw!"
weapon.ammotype "SlashClawAmmo"
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
inventory.icon "SCLASI"
Scale 2.0
States
{
Spawn:
WEA3 Q 1
loop
Ready:
SCLA A 0 ACS_ExecuteAlways(998,0,69)
SCLA A 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
SCLA A 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
SCLA A 1 A_Raise
Loop
Fire:
SCLA A 0 A_JumpIfNoAmmo("NoAmmo")
SCLA BC 1
SCLA A 0 A_PlaySoundEx("weapon/slashclaw","Weapon")
SCLA A 0 A_FireCustomMissile("SlashClaw",0,1,11,-8)
SCLA DE 2
SCLA F 4
SCLA G 15
SCLA BCA 2 A_WeaponReady
Goto Ready+1
NoAmmo:
SCLA A 1 ACS_Execute(979,0)
Goto Ready+1
}
}

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

actor SlashClaw
{
PROJECTILE
Radius 5
Height 5
scale 2.5
damage (10)
+RIPPER
damagetype "Claw"
speed 15
States
{
Spawn:
SCLA HIJKL 1 A_Explode(18,90,0)
stop
}
}