First ShoulShot bug fix.

Contributed by Sahar.
This commit is contained in:
MobiusDev
2015-08-30 08:30:53 +00:00
parent 9c88536a7a
commit 8b2571eecb

View File

@@ -1164,9 +1164,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
}
else
{
// If we didn't miss the hit, discharge the shoulshots, if any
setChargedShot(ShotType.SOULSHOTS, false);
if (player != null)
{
if (player.isCursedWeaponEquipped())
@@ -4959,6 +4956,11 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
}
notifyAttackAvoid(target, false);
}
else
{
// If we didn't miss the hit, discharge the shoulshots, if any
setChargedShot(ShotType.SOULSHOTS, false);
}
// Send message about damage/crit or miss
sendDamageMessage(target, damage, false, crit, miss);