From b27ff8c5f0e19082c00cf65fca5e4d95ed02e614 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 5 Mar 2021 20:53:59 +0200 Subject: [PATCH] Reduce the chances of the siphoninh spell breaking when you misuse it --- .../unicopia/ability/magic/spell/SiphoningSpell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/SiphoningSpell.java b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/SiphoningSpell.java index 4b79f765..eece5f3b 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/SiphoningSpell.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/SiphoningSpell.java @@ -78,7 +78,7 @@ public class SiphoningSpell extends AbstractPlacedSpell { source.subtractEnergyCost(0.2F); if (maxHealthGain <= 0) { - if (source.getWorld().random.nextInt(30) == 0) { + if (source.getWorld().random.nextInt(3000) == 0) { onDestroyed(source); } else { e.damage(damage, e.getHealth() / 4);