Proper usage for party range configuration.

This commit is contained in:
MobiusDev
2019-01-23 01:50:11 +00:00
parent b5faf6464b
commit 283f87c38e
49 changed files with 105 additions and 194 deletions

View File

@@ -664,17 +664,11 @@ AltClanMembersForWar = 15
# Party
# ---------------------------------------------------------------------------
# CONFUSING(nothing to do with party) -> When you made damage to a mob
# and are inside this range, you will be considered as player to reward.
# 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
# 1. Used for Adena distribution in party
# 2. Used to handle random and by turn party loot
# Default: 1400
AltPartyRange2 = 1400
# If true, when party leader leaves party, next member in party will be the leader.
# If false the party be will dispersed.
# Default: False

View File

@@ -636,7 +636,7 @@ public abstract class AbstractSagaQuest extends Quest
for (L2PcInstance player1 : party.getMembers())
{
final QuestState st1 = findQuest(player1);
if ((st1 != null) && player1.isInsideRadius2D(player, Config.ALT_PARTY_RANGE2))
if ((st1 != null) && player1.isInsideRadius2D(player, Config.ALT_PARTY_RANGE))
{
if (st1.isCond(15))
{