Mentee system adaptations.

Thanks to nasseka.
This commit is contained in:
MobiusDevelopment
2021-10-25 14:40:27 +00:00
parent 55d49fc9d6
commit bd51582cac
71 changed files with 75 additions and 85 deletions

View File

@@ -1952,7 +1952,7 @@ public class Config
PETITIONING_ALLOWED = Character.getBoolean("PetitioningAllowed", true);
MAX_PETITIONS_PER_PLAYER = Character.getInt("MaxPetitionsPerPlayer", 5);
MAX_PETITIONS_PENDING = Character.getInt("MaxPetitionsPending", 25);
MAX_FREE_TELEPORT_LEVEL = Character.getInt("MaxFreeTeleportLevel", 76);
MAX_FREE_TELEPORT_LEVEL = Character.getInt("MaxFreeTeleportLevel", 99);
DELETE_DAYS = Character.getInt("DeleteCharAfterDays", 1);
PARTY_XP_CUTOFF_METHOD = Character.getString("PartyXpCutoffMethod", "level").toLowerCase();
PARTY_XP_CUTOFF_PERCENT = Character.getDouble("PartyXpCutoffPercent", 3);

View File

@@ -139,7 +139,7 @@ public class ConfirmMenteeAdd implements IClientIncomingPacket
mentor.sendPacket(SystemMessageId.YOU_CANNOT_BECOME_YOUR_OWN_MENTEE);
return false;
}
else if (mentee.getLevel() >= 86)
else if (mentee.getLevel() >= 105)
{
mentor.sendPacket(new SystemMessage(SystemMessageId.S1_IS_ABOVE_LEVEL_85_AND_CANNOT_BECOME_A_MENTEE).addString(mentee.getName()));
return false;