Fixed skills not been casted in instances.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment
2021-07-02 22:19:44 +00:00
parent 24ddd39590
commit 741cb757b6
33 changed files with 36 additions and 26 deletions

View File

@@ -2038,7 +2038,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
// prevent casting signets to peace zone
if (skill.isChanneling() && (skill.getChannelingSkillId() > 0))
if (skill.isChanneling() && (skill.getChannelingSkillId() > 0) && (getInstanceId() == 0))
{
final ZoneRegion zoneRegion = ZoneManager.getInstance().getRegion(this);
boolean canCast = true;