|
@@ -2321,7 +2321,7 @@ public class L2Clan
|
|
}
|
|
}
|
|
case 5:
|
|
case 5:
|
|
// Upgrade to 6
|
|
// Upgrade to 6
|
|
- if(getReputationScore() >= Config.CLAN_LEVEL_6_COST && getMembersCount() >= 30)
|
|
|
|
|
|
+ if(getReputationScore() >= Config.CLAN_LEVEL_6_COST && getMembersCount() >= Config.CLAN_LEVEL_6_REQUIREMENT)
|
|
{
|
|
{
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_6_COST, true);
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_6_COST, true);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
@@ -2334,7 +2334,7 @@ public class L2Clan
|
|
|
|
|
|
case 6:
|
|
case 6:
|
|
// Upgrade to 7
|
|
// Upgrade to 7
|
|
- if(getReputationScore() >= Config.CLAN_LEVEL_7_COST && getMembersCount() >= 80)
|
|
|
|
|
|
+ if(getReputationScore() >= Config.CLAN_LEVEL_7_COST && getMembersCount() >= Config.CLAN_LEVEL_7_REQUIREMENT)
|
|
{
|
|
{
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_7_COST, true);
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_7_COST, true);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
@@ -2346,7 +2346,7 @@ public class L2Clan
|
|
break;
|
|
break;
|
|
case 7:
|
|
case 7:
|
|
// Upgrade to 8
|
|
// Upgrade to 8
|
|
- if(getReputationScore() >= Config.CLAN_LEVEL_8_COST && getMembersCount() >= 120)
|
|
|
|
|
|
+ if(getReputationScore() >= Config.CLAN_LEVEL_8_COST && getMembersCount() >= Config.CLAN_LEVEL_8_REQUIREMENT)
|
|
{
|
|
{
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_8_COST, true);
|
|
setReputationScore(getReputationScore() - Config.CLAN_LEVEL_8_COST, true);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
SystemMessage cr = new SystemMessage(SystemMessageId.S1_DEDUCTED_FROM_CLAN_REP);
|
|
@@ -2358,7 +2358,7 @@ public class L2Clan
|
|
break;
|
|
break;
|
|
case 8:
|
|
case 8:
|
|
// Upgrade to 9
|
|
// Upgrade to 9
|
|
- if(getReputationScore() >= Config.CLAN_LEVEL_9_COST && player.getInventory().getItemByItemId(9910) != null && getMembersCount() >= 120)
|
|
|
|
|
|
+ if(getReputationScore() >= Config.CLAN_LEVEL_9_COST && player.getInventory().getItemByItemId(9910) != null && getMembersCount() >= Config.CLAN_LEVEL_9_REQUIREMENT)
|
|
{
|
|
{
|
|
// itemId 9910 == Blood Oath
|
|
// itemId 9910 == Blood Oath
|
|
if (player.destroyItemByItemId("ClanLvl", 9910, 150, player.getTarget(), false))
|
|
if (player.destroyItemByItemId("ClanLvl", 9910, 150, player.getTarget(), false))
|
|
@@ -2378,7 +2378,7 @@ public class L2Clan
|
|
break;
|
|
break;
|
|
case 9:
|
|
case 9:
|
|
// Upgrade to 10
|
|
// Upgrade to 10
|
|
- if(getReputationScore() >= Config.CLAN_LEVEL_10_COST && player.getInventory().getItemByItemId(9911) != null && getMembersCount() >= 140)
|
|
|
|
|
|
+ if(getReputationScore() >= Config.CLAN_LEVEL_10_COST && player.getInventory().getItemByItemId(9911) != null && getMembersCount() >= Config.CLAN_LEVEL_10_REQUIREMENT)
|
|
{
|
|
{
|
|
// itemId 9911 == Blood Alliance
|
|
// itemId 9911 == Blood Alliance
|
|
if (player.destroyItemByItemId("ClanLvl", 9911, 5, player.getTarget(), false))
|
|
if (player.destroyItemByItemId("ClanLvl", 9911, 5, player.getTarget(), false))
|