From f431ebd65cc865a4787827999470a9bbd56555d8 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Fri, 15 Mar 2019 01:04:42 -0400 Subject: [PATCH] Update LakRabbitGame.cs --- Classic/scripts/LakRabbitGame.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classic/scripts/LakRabbitGame.cs b/Classic/scripts/LakRabbitGame.cs index 61f4c56..87d3649 100644 --- a/Classic/scripts/LakRabbitGame.cs +++ b/Classic/scripts/LakRabbitGame.cs @@ -18,6 +18,7 @@ // maradona, pip, phantom jaguar, hilikus, the_ham, pip, wiggle, dragon, pancho villa, w/o, nectar and many others.. // // v3.34 Febuary 2019 +// Coverted Else ifs to case in Armor::damageObject // Added SetNextMission support // Indoor Spawning support // @@ -558,7 +559,7 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am %points *= 2.0; } } - if(!ma) + if(!%ma) %amount = 0; %weapon = "MINE"; case $DamageType::ShockLance: