From cc832e1d7f8ee6c5e37079e5bf958a8e30eb80de Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Sun, 9 Aug 2020 13:41:07 -0400 Subject: [PATCH] Satchel Slope Fix Fixes satchel not dealing damage if placed on slopes --- Classic/scripts/packs/satchelCharge.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classic/scripts/packs/satchelCharge.cs b/Classic/scripts/packs/satchelCharge.cs index eafd757..1d7e9fa 100644 --- a/Classic/scripts/packs/satchelCharge.cs +++ b/Classic/scripts/packs/satchelCharge.cs @@ -696,7 +696,9 @@ function SatchelChargeThrown::onDestroyed(%this, %object, %lastState) } %object.blowingUp = true; - RadiusExplosion(%object, %object.getPosition(), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType); + //Slope fix by DarkTiger + RadiusExplosion(%object, vectorAdd(%object.getPosition(),"0 0 1"), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType); + ///RadiusExplosion(%object, %object.getPosition(), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType); %object.schedule(1000, "delete"); }