Default party range set to 1500.
This commit is contained in:
		@@ -563,8 +563,8 @@ AltPartyMaxMembers = 7
 | 
			
		||||
 | 
			
		||||
# When you made damage to a mob and are inside this range, you will be considered as player to reward.
 | 
			
		||||
# Checks for party range to mob to calculate rewards(exp, items).
 | 
			
		||||
# Default: 1600
 | 
			
		||||
AltPartyRange = 1600
 | 
			
		||||
# Default: 1500
 | 
			
		||||
AltPartyRange = 1500
 | 
			
		||||
 | 
			
		||||
# If true, when party leader leaves party, next member in party will be the leader.
 | 
			
		||||
# If false the party be will dispersed.
 | 
			
		||||
 
 | 
			
		||||
@@ -1600,7 +1600,7 @@ public final class Config
 | 
			
		||||
			ALT_CLAN_MEMBERS_TIME_FOR_BONUS = Character.getDuration("AltClanMembersTimeForBonus", "30mins").toMillis();
 | 
			
		||||
			REMOVE_CASTLE_CIRCLETS = Character.getBoolean("RemoveCastleCirclets", true);
 | 
			
		||||
			ALT_PARTY_MAX_MEMBERS = Character.getInt("AltPartyMaxMembers", 7);
 | 
			
		||||
			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);
 | 
			
		||||
 
 | 
			
		||||
@@ -2460,7 +2460,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)
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user