Fixed players getting stuck in casting intention.
Contributed by Sahar.
This commit is contained in:
@@ -8553,6 +8553,12 @@ public class PlayerInstance extends Playable
|
|||||||
setQueuedSkill(null, false, false);
|
setQueuedSkill(null, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!checkUseMagicConditions(skill, forceUse, dontMove))
|
||||||
|
{
|
||||||
|
setIsCastingNow(false);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if the target is correct and Notify the AI with AI_INTENTION_CAST and target
|
// Check if the target is correct and Notify the AI with AI_INTENTION_CAST and target
|
||||||
WorldObject target = null;
|
WorldObject target = null;
|
||||||
switch (skill.getTargetType())
|
switch (skill.getTargetType())
|
||||||
|
Reference in New Issue
Block a user