Add ThunderBreaker.BARRAGE in damage hack calculation (#387)

This commit is contained in:
MedicOP
2019-02-03 16:28:21 +01:00
committed by Ronan Lana
parent a82cb9c719
commit 6b40f32d30
3 changed files with 3 additions and 1 deletions

View File

@@ -39,4 +39,5 @@ public class ThunderBreaker {
public static final int SPEED_INFUSION = 15111005;
public static final int SPARK = 15111006;
public static final int SHARK_WAVE = 15111007;
public static final int BARRAGE = 15111004;
}

View File

@@ -836,7 +836,7 @@ public abstract class AbstractDealDamageHandler extends AbstractMaplePacketHandl
for (int j = 0; j < ret.numDamage; j++) {
int damage = lea.readInt();
int hitDmgMax = calcDmgMax;
if(ret.skill == Buccaneer.BARRAGE) {
if(ret.skill == Buccaneer.BARRAGE || ret.skill == ThunderBreaker.BARRAGE) {
if(j > 3)
hitDmgMax *= Math.pow(2, (j - 3));
}

View File

@@ -605,6 +605,7 @@ public class MapleStatEffect {
case Buccaneer.BARRAGE:
case Gunslinger.BLANK_SHOT:
case DawnWarrior.COMA:
case ThunderBreaker.BARRAGE:
case Aran.ROLLING_SPIN:
case Evan.FIRE_BREATH:
case Evan.BLAZE: