Fixed skills not been casted in instances.
Contributed by nasseka.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user