Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hello i find one code shared by gevorakoC and not work.
- im post this now. no need config just paste the code.
- com.l2jfrozen.gameserver.model.actor.instance.L2VillageMasterInstance.java
- Found :
- - final PlayerRace npcRace = getVillageMasterRace();
- - final ClassType npcTeachType = getVillageMasterTeachType();
- + getVillageMasterRace();
- + getVillageMasterTeachType();
- Next Remove That :
- -if(npcRace == PlayerRace.Human || npcRace == PlayerRace.LightElf)
- - {
- - // If the master is human or light elf, ensure that fighter-type
- - // masters only teach fighter classes, and priest-type masters
- - // only teach priest classes etc.
- - if(!availSub.isOfType(npcTeachType))
- - {
- - availSubs.remove(availSub);
- - }
- - else if(!availSub.isOfRace(PlayerRace.Human) && !availSub.isOfRace(PlayerRace.LightElf))
- - {
- - availSubs.remove(availSub);
- - }
- - }
- - else
- - {
- - // If the master is not human and not light elf,
- - // then remove any classes not of the same race as the master.
- - if(npcRace != PlayerRace.Human && npcRace != PlayerRace.LightElf && !availSub.isOfRace(npcRace))
- - {
- - availSubs.remove(availSub);
- - }
- - }
- If Now Would You like to Inside Dominator For All Characters go to :
- com.l2jfrozen.model.base.PlayerClass.java
- And Delete this :
- -
- - private static final Set<PlayerClass> neverSubclassed = EnumSet.of(Overlord, Warsmith);
- this :
- - subclasses.removeAll(neverSubclassed);
- -
- And this :
- -
- - subclasses.removeAll(neverSubclassed);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement