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

This commit is contained in:
MedicOP
2019-02-03 13:28:21 -02:00
committed by Ronan Lana
parent a82cb9c719
commit 6b40f32d30
3 changed files with 3 additions and 1 deletions
@@ -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));
}