Fixed a bug with Blast Mining incorrectly handling reduced TNT damage.

This commit is contained in:
GJ 2013-01-15 10:01:15 -05:00
parent 72b8eb85b0
commit 630b64462e

View File

@ -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;
}
}