Add ThunderBreaker.BARRAGE in damage hack calculation (#387)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user