First ShoulShot bug fix.
Contributed by Sahar.
This commit is contained in:
@@ -1164,9 +1164,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If we didn't miss the hit, discharge the shoulshots, if any
|
|
||||||
setChargedShot(ShotType.SOULSHOTS, false);
|
|
||||||
|
|
||||||
if (player != null)
|
if (player != null)
|
||||||
{
|
{
|
||||||
if (player.isCursedWeaponEquipped())
|
if (player.isCursedWeaponEquipped())
|
||||||
@@ -4959,6 +4956,11 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
notifyAttackAvoid(target, false);
|
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
|
// Send message about damage/crit or miss
|
||||||
sendDamageMessage(target, damage, false, crit, miss);
|
sendDamageMessage(target, damage, false, crit, miss);
|
||||||
|
Reference in New Issue
Block a user