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:
ChocoTaco1 2020-04-14 03:52:05 -04:00
parent 360f7b232e
commit 6f9a19def4

View file

@ -608,10 +608,13 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
case $DamageType::Blaster:
if(%ma)
{
%points = %distanceBonus/2;
%points = %distanceBonus/2.5; //was 2
%velBonus /= 2;
%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";
case $DamageType::Plasma:
if(%ma && %percentDam >= 98)