For the love of God! Akken please delete your last post, totally dysfunctional.
Index: D:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2VillageMasterInstance.java
===================================================================
--- D:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 4425)
+++ D:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2VillageMasterInstance.java (working copy)
@@ -417,6 +417,12 @@
return;
}
+ if (player.isInCombat() || player.isInParty())
+ {
+ player.sendMessage("Your status don't allow a subclass change.");
+ return;
+ }
+
if (player.getClassIndex() == paramOne)
{
html.setFile(player.getHtmlPrefix(), "data/html/villagemaster/SubClass_Current.htm");