Clan experience adjustments.

Contributed by MacuK.
This commit is contained in:
MobiusDevelopment
2021-10-28 05:21:41 +00:00
parent 6b069bb28a
commit 55b95c0160
6 changed files with 28 additions and 19 deletions

View File

@@ -205,8 +205,11 @@ LevelUp71And75ReputationScore = 75
# Reputation score gained after level obtained (76-80) # Reputation score gained after level obtained (76-80)
LevelUp76And80ReputationScore = 90 LevelUp76And80ReputationScore = 90
# Reputation score gained after level obtained (81+) # Reputation score gained after level obtained (81-90)
LevelUp81PlusReputationScore = 120 LevelUp81And90ReputationScore = 120
# Reputation score gained after level obtained (91+)
LevelUp91PlusReputationScore = 150
# Reputation score gained after level obtained multiplier # Reputation score gained after level obtained multiplier
LevelObtainedReputationScoreMultiplier = 1.0 LevelObtainedReputationScoreMultiplier = 1.0

View File

@@ -1,6 +1,6 @@
<html><body>What would you like to do?<br> <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-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-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 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> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_learn_clan_skills">Receive Clan Skill</Button>

View File

@@ -410,7 +410,8 @@ public class Config
public static int LVL_UP_66_AND_70_REP_SCORE; 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_71_AND_75_REP_SCORE;
public static int LVL_UP_76_AND_80_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 double LVL_OBTAINED_REP_SCORE_MULTIPLIER;
public static int CLAN_LEVEL_6_COST; public static int CLAN_LEVEL_6_COST;
public static int CLAN_LEVEL_7_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_66_AND_70_REP_SCORE = Feature.getInt("LevelUp66And70ReputationScore", 63);
LVL_UP_71_AND_75_REP_SCORE = Feature.getInt("LevelUp71And75ReputationScore", 75); LVL_UP_71_AND_75_REP_SCORE = Feature.getInt("LevelUp71And75ReputationScore", 75);
LVL_UP_76_AND_80_REP_SCORE = Feature.getInt("LevelUp76And80ReputationScore", 90); 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); LVL_OBTAINED_REP_SCORE_MULTIPLIER = Feature.getDouble("LevelObtainedReputationScoreMultiplier", 1.0d);
CLAN_LEVEL_6_COST = Feature.getInt("ClanLevel6Cost", 15000); CLAN_LEVEL_6_COST = Feature.getInt("ClanLevel6Cost", 15000);
CLAN_LEVEL_7_COST = Feature.getInt("ClanLevel7Cost", 450000); CLAN_LEVEL_7_COST = Feature.getInt("ClanLevel7Cost", 450000);

View File

@@ -336,9 +336,13 @@ public class PlayableStat extends CreatureStat
{ {
reputation += Config.LVL_UP_76_AND_80_REP_SCORE; 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;
} }
} }

View File

@@ -161,15 +161,15 @@ public class Clan implements IIdentifiable, INamable
private static final int[] EXP_TABLE = private static final int[] EXP_TABLE =
{ {
100, 100,
100, 1000,
500, 5000,
10000, 100000,
50000, 500000,
150000, 1500000,
450000, 4500000,
1000000, 7500000,
2000000, 11000000,
4000000 14500000
}; };
private String _notice; private String _notice;

View File

@@ -65,7 +65,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
{ {
if (player.reduceAdena("pledge donation", 10000, null, true)) if (player.reduceAdena("pledge donation", 10000, null, true))
{ {
clan.addExp(player.getObjectId(), 3, true); clan.addExp(player.getObjectId(), 9, true);
} }
else else
{ {
@@ -79,7 +79,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
{ {
if (player.getInventory().destroyItemByItemId("pledge donation", Inventory.LCOIN_ID, 100, player, null) != null) 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); player.setHonorCoins(player.getHonorCoins() + 100);
} }
else else
@@ -99,7 +99,7 @@ public class RequestExPledgeDonationRequest implements IClientIncomingPacket
{ {
if (player.getInventory().destroyItemByItemId("pledge donation", Inventory.LCOIN_ID, 500, player, null) != null) 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); player.setHonorCoins(player.getHonorCoins() + 500);
} }
else else