Default party range set to 1500.

This commit is contained in:
MobiusDev
2019-01-23 03:21:15 +00:00
parent bf417153d9
commit a7f367e4cd
50 changed files with 52 additions and 362 deletions

View File

@ -1887,7 +1887,7 @@ public final class Config
ALT_CLAN_MEMBERS_FOR_WAR = Character.getInt("AltClanMembersForWar", 15);
ALT_MEMBERS_CAN_WITHDRAW_FROM_CLANWH = Character.getBoolean("AltMembersCanWithdrawFromClanWH", false);
REMOVE_CASTLE_CIRCLETS = Character.getBoolean("RemoveCastleCirclets", true);
ALT_PARTY_RANGE = Character.getInt("AltPartyRange", 1600);
ALT_PARTY_RANGE = Character.getInt("AltPartyRange", 1500);
ALT_LEAVE_PARTY_LEADER = Character.getBoolean("AltLeavePartyLeader", false);
INITIAL_EQUIPMENT_EVENT = Character.getBoolean("InitialEquipmentEvent", false);
STARTING_ADENA = Character.getLong("StartingAdena", 0);

View File

@ -2196,7 +2196,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* @param value the value of the specified quest variable the random party member must have
* @return a random party member that matches the specified conditions or {@code null} if no match was found.<br>
* If the {@code var} parameter is {@code null}, a random party member is selected without any conditions.<br>
* The party member must be within a range of 1600 ingame units of the target of the reference player, or, if no target exists, within the same range of the player itself
* The party member must be within a range of 1500 ingame units of the target of the reference player, or, if no target exists, within the same range of the player itself
*/
public L2PcInstance getRandomPartyMember(L2PcInstance player, String var, String value)
{