Clan experience adjustments.
Contributed by MacuK.
This commit is contained in:
@@ -205,8 +205,11 @@ LevelUp71And75ReputationScore = 75
|
||||
# Reputation score gained after level obtained (76-80)
|
||||
LevelUp76And80ReputationScore = 90
|
||||
|
||||
# Reputation score gained after level obtained (81+)
|
||||
LevelUp81PlusReputationScore = 120
|
||||
# Reputation score gained after level obtained (81-90)
|
||||
LevelUp81And90ReputationScore = 120
|
||||
|
||||
# Reputation score gained after level obtained (91+)
|
||||
LevelUp91PlusReputationScore = 150
|
||||
|
||||
# Reputation score gained after level obtained multiplier
|
||||
LevelObtainedReputationScoreMultiplier = 1.0
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<html><body>What would you like to do?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-02.htm">Establish Clan</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-03.htm">Increase Clan's Level</Button>
|
||||
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-03.htm">Increase Clan's Level</Button> -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-04.htm">Disperse Clan</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-05.htm">Restore Clan</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_learn_clan_skills">Receive Clan Skill</Button>
|
||||
|
@@ -410,7 +410,8 @@ public class Config
|
||||
public static int LVL_UP_66_AND_70_REP_SCORE;
|
||||
public static int LVL_UP_71_AND_75_REP_SCORE;
|
||||
public static int LVL_UP_76_AND_80_REP_SCORE;
|
||||
public static int LVL_UP_81_PLUS_REP_SCORE;
|
||||
public static int LVL_UP_81_AND_90_REP_SCORE;
|
||||
public static int LVL_UP_91_PLUS_REP_SCORE;
|
||||
public static double LVL_OBTAINED_REP_SCORE_MULTIPLIER;
|
||||
public static int CLAN_LEVEL_6_COST;
|
||||
public static int CLAN_LEVEL_7_COST;
|
||||
@@ -1572,7 +1573,8 @@ public class Config
|
||||
LVL_UP_66_AND_70_REP_SCORE = Feature.getInt("LevelUp66And70ReputationScore", 63);
|
||||
LVL_UP_71_AND_75_REP_SCORE = Feature.getInt("LevelUp71And75ReputationScore", 75);
|
||||
LVL_UP_76_AND_80_REP_SCORE = Feature.getInt("LevelUp76And80ReputationScore", 90);
|
||||
LVL_UP_81_PLUS_REP_SCORE = Feature.getInt("LevelUp81PlusReputationScore", 120);
|
||||
LVL_UP_81_AND_90_REP_SCORE = Feature.getInt("LevelUp81And90ReputationScore", 120);
|
||||
LVL_UP_91_PLUS_REP_SCORE = Feature.getInt("LevelUp91PlusReputationScore", 150);
|
||||
LVL_OBTAINED_REP_SCORE_MULTIPLIER = Feature.getDouble("LevelObtainedReputationScoreMultiplier", 1.0d);
|
||||
CLAN_LEVEL_6_COST = Feature.getInt("ClanLevel6Cost", 15000);
|
||||
CLAN_LEVEL_7_COST = Feature.getInt("ClanLevel7Cost", 450000);
|
||||
|
@@ -336,9 +336,13 @@ public class PlayableStat extends CreatureStat
|
||||
{
|
||||
reputation += Config.LVL_UP_76_AND_80_REP_SCORE;
|
||||
}
|
||||
else if ((level >= 81) && (level <= 120))
|
||||
else if ((level >= 81) && (level <= 90))
|
||||
{
|
||||
reputation += Config.LVL_UP_81_PLUS_REP_SCORE;
|
||||
reputation += Config.LVL_UP_81_AND_90_REP_SCORE;
|
||||
}
|
||||
else if ((level >= 91) && (level <= 120))
|
||||
{
|
||||
reputation += Config.LVL_UP_91_PLUS_REP_SCORE;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -161,15 +161,15 @@ public class Clan implements IIdentifiable, INamable
|
||||
private static final int[] EXP_TABLE =
|
||||
{
|
||||
100,
|
||||
100,
|
||||
500,
|
||||
10000,
|
||||
50000,
|
||||
150000,
|
||||
450000,
|
||||
1000000,
|
||||
2000000,
|
||||
4000000
|
||||
1000,
|
||||
5000,
|
||||
100000,
|
||||
500000,
|
||||
1500000,
|
||||
4500000,
|
||||
7500000,
|
||||
11000000,
|
||||
14500000
|
||||
};
|
||||
|
||||
private String _notice;
|
||||
|
@@ -65,7 +65,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
|
||||
{
|
||||
if (player.reduceAdena("pledge donation", 10000, null, true))
|
||||
{
|
||||
clan.addExp(player.getObjectId(), 3, true);
|
||||
clan.addExp(player.getObjectId(), 9, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -79,7 +79,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
|
||||
{
|
||||
if (player.getInventory().destroyItemByItemId("pledge donation", Inventory.LCOIN_ID, 100, player, null) != null)
|
||||
{
|
||||
clan.addExp(player.getObjectId(), 10, true);
|
||||
clan.addExp(player.getObjectId(), 100, true);
|
||||
player.setHonorCoins(player.getHonorCoins() + 100);
|
||||
}
|
||||
else
|
||||
@@ -99,7 +99,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
|
||||
{
|
||||
if (player.getInventory().destroyItemByItemId("pledge donation", Inventory.LCOIN_ID, 500, player, null) != null)
|
||||
{
|
||||
clan.addExp(player.getObjectId(), 50, true);
|
||||
clan.addExp(player.getObjectId(), 500, true);
|
||||
player.setHonorCoins(player.getHonorCoins() + 500);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user