mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +00:00
100 points sound (Lak)
This commit is contained in:
parent
75c93dfa64
commit
04f6400ae2
1 changed files with 5 additions and 1 deletions
|
|
@ -700,13 +700,17 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
||||||
%special !$= "" ? %special : "",
|
%special !$= "" ? %special : "",
|
||||||
%distance,
|
%distance,
|
||||||
%vel,
|
%vel,
|
||||||
%accuracy );
|
%accuracy);
|
||||||
|
|
||||||
if(%sourceObject.holdingFlag && %points >= 75)
|
if(%sourceObject.holdingFlag && %points >= 75)
|
||||||
{
|
{
|
||||||
missileEveryone(%sourceObject);
|
missileEveryone(%sourceObject);
|
||||||
%sound = '~wfx/Bonuses/horz_straipass2_heist.wav';
|
%sound = '~wfx/Bonuses/horz_straipass2_heist.wav';
|
||||||
}
|
}
|
||||||
|
else if(%points >= 100)
|
||||||
|
{
|
||||||
|
%sound = '~wfx/Misc/MA1.wav';
|
||||||
|
}
|
||||||
|
|
||||||
Game.recalcScore(%sourceObject.client);
|
Game.recalcScore(%sourceObject.client);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue