From 630b64462ee2edaa36de14cab3f1cbe3a715d8ed Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 15 Jan 2013 10:01:15 -0500 Subject: [PATCH] Fixed a bug with Blast Mining incorrectly handling reduced TNT damage. --- .../skills/mining/DemoltionsExpertiseEventHandler.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/mining/DemoltionsExpertiseEventHandler.java b/src/main/java/com/gmail/nossr50/skills/mining/DemoltionsExpertiseEventHandler.java index bb22f6ae4..554f0cec5 100644 --- a/src/main/java/com/gmail/nossr50/skills/mining/DemoltionsExpertiseEventHandler.java +++ b/src/main/java/com/gmail/nossr50/skills/mining/DemoltionsExpertiseEventHandler.java @@ -25,10 +25,13 @@ public class DemoltionsExpertiseEventHandler { damageModifier = 0; } else if (skillLevel >= BlastMining.BLAST_MINING_RANK_6) { - damageModifier = 0.5; + damageModifier = 0.25; } else if (skillLevel >= BlastMining.BLAST_MINING_RANK_4) { - damageModifier = 0.25; + damageModifier = 0.5; + } + else { + damageModifier = 1; } }