100 points sound (Lak)

This commit is contained in:
ChocoTaco1 2020-08-16 18:36:37 -04:00
parent 75c93dfa64
commit 04f6400ae2

View file

@ -700,13 +700,17 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
%special !$= "" ? %special : "",
%distance,
%vel,
%accuracy );
%accuracy);
if(%sourceObject.holdingFlag && %points >= 75)
{
missileEveryone(%sourceObject);
%sound = '~wfx/Bonuses/horz_straipass2_heist.wav';
}
else if(%points >= 100)
{
%sound = '~wfx/Misc/MA1.wav';
}
Game.recalcScore(%sourceObject.client);
}