Subclass Stuck Solution
Posted: Wed Nov 17, 2010 12:01 am
Well, i added to GrandMaster's core side files thing like:
they make it in party... can someone give me code to:
i`ll be thanksful
)
to protect subclass stucking... floodprotection is also enabled but...dont allow to change/create/delete subclass if in combat mode
they make it in party... can someone give me code to:
?dont allow to change/create/delete subclass if in party
i`ll be thanksful

Code: Select all
// Subclasses may not be changed while a skill is in use. if (player.isCastingNow() || player.isAllSkillsDisabled() || AttackStanceTaskManager.getInstance().getAttackStanceTask(player)) { player.sendPacket(new SystemMessage(SystemMessageId.SUBCLASS_NO_CHANGE_OR_CREATE_WHILE_SKILL_IN_USE)); return; } NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); if (player.getTransformation() != null) { html.setFile(player.getHtmlPrefix(), "data/html/villagemaster/SubClass_NoTransformed.htm"); player.sendPacket(html); return; }