Code: Select all
class ComboGibLite expands InstaGibDM;
function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
local Ammo A;
local Projectile P;
ForEach AllActors(class'Projectile',P)
P.Damage=0.0;
if (Pawn(Other) != None)
Pawn(Other).Default.DamageScaling = 9999999.0;
ForEach AllActors(class'Ammo', A)
A.AmmoAmount = 100;
return Super.CheckReplacement(Other, bSuperRelevant);
}
defaultproperties
{
WeaponName=ShockRifle
AmmoName=ShockCore
DefaultWeapon=Class'ShockRifle'
}