|
@@ -7883,15 +7883,17 @@ public final class L2PcInstance extends L2PlayableInstance
|
|
// If a skill is currently being used, queue this one if this is not the same
|
|
// If a skill is currently being used, queue this one if this is not the same
|
|
if (isCastingNow())
|
|
if (isCastingNow())
|
|
{
|
|
{
|
|
- if ((getCastInterruptTime()+50) < GameTimeController.getGameTicks())
|
|
|
|
|
|
+ if ((getCastInterruptTime()+40) < GameTimeController.getGameTicks())
|
|
{
|
|
{
|
|
// temporary fix for skill use getting stuck
|
|
// temporary fix for skill use getting stuck
|
|
|
|
+ /*
|
|
if (getLastSkillCast() != null)
|
|
if (getLastSkillCast() != null)
|
|
_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: "+getLastSkillCast().getName());
|
|
_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: "+getLastSkillCast().getName());
|
|
else
|
|
else
|
|
_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: null");
|
|
_log.warning("Debug msg: fixing skill use stuck for a player, last skill cast was: null");
|
|
if (getCurrentSkill() != null)
|
|
if (getCurrentSkill() != null)
|
|
_log.warning("and current skill: "+getCurrentSkill().getSkill().getName());
|
|
_log.warning("and current skill: "+getCurrentSkill().getSkill().getName());
|
|
|
|
+ */
|
|
abortCast();
|
|
abortCast();
|
|
return;
|
|
return;
|
|
}
|
|
}
|