mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Update LakRabbitGame.cs
Blaster Damage reduction (Lak Only) Reduced damage for midair blaster shots Reduced damage for ground blaster shots To combat blaster spamming (Before 4 shots to kill a light > 5 midair shots or 7 ground shots)
This commit is contained in:
parent
360f7b232e
commit
6f9a19def4
1 changed files with 4 additions and 1 deletions
|
|
@ -608,10 +608,13 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
||||||
case $DamageType::Blaster:
|
case $DamageType::Blaster:
|
||||||
if(%ma)
|
if(%ma)
|
||||||
{
|
{
|
||||||
%points = %distanceBonus/2;
|
%points = %distanceBonus/2.5; //was 2
|
||||||
%velBonus /= 2;
|
%velBonus /= 2;
|
||||||
%sound = %defaultSound;
|
%sound = %defaultSound;
|
||||||
|
%amount *= 0.7; //Midair blaster damage reduction - particularly for blaster spamming
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
%amount *= 0.5; //Ground blaster damage reduction - particularly for blaster spamming
|
||||||
%weapon = "Blaster";
|
%weapon = "Blaster";
|
||||||
case $DamageType::Plasma:
|
case $DamageType::Plasma:
|
||||||
if(%ma && %percentDam >= 98)
|
if(%ma && %percentDam >= 98)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue