Tweak crown kill streak multipliers
This commit is contained in:
parent
130d1dc05e
commit
ea4f9aee62
@ -455,27 +455,22 @@ public class CastleAssault extends TeamGame
|
||||
}
|
||||
|
||||
{
|
||||
int crowns = 0;
|
||||
for (GemData data : GetGems(player).values())
|
||||
{
|
||||
crowns += data.Gems;
|
||||
}
|
||||
int streak = _streakData.getOrDefault(player, new KillStreakData()).getBestStreak();
|
||||
if (streak >= 2 && streak < 4)
|
||||
{
|
||||
AddGems(player, 0.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 10, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 4 && streak < 6)
|
||||
{
|
||||
AddGems(player, crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 15, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 6 && streak < 8)
|
||||
{
|
||||
AddGems(player, 1.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 20, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 8)
|
||||
{
|
||||
AddGems(player, 2 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 25, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -553,27 +548,22 @@ public class CastleAssault extends TeamGame
|
||||
}
|
||||
|
||||
{
|
||||
int crowns = 0;
|
||||
for (GemData data : GetGems(player).values())
|
||||
{
|
||||
crowns += data.Gems;
|
||||
}
|
||||
int streak = _streakData.getOrDefault(player, new KillStreakData()).getBestStreak();
|
||||
if (streak >= 2 && streak < 4)
|
||||
{
|
||||
AddGems(player, 0.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 10, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 4 && streak < 6)
|
||||
{
|
||||
AddGems(player, crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 15, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 6 && streak < 8)
|
||||
{
|
||||
AddGems(player, 1.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 20, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 8)
|
||||
{
|
||||
AddGems(player, 2 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 25, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -621,27 +611,22 @@ public class CastleAssault extends TeamGame
|
||||
}
|
||||
|
||||
{
|
||||
int crowns = 0;
|
||||
for (GemData data : GetGems(player).values())
|
||||
{
|
||||
crowns += data.Gems;
|
||||
}
|
||||
int streak = _streakData.getOrDefault(player, new KillStreakData()).getBestStreak();
|
||||
if (streak >= 2 && streak < 4)
|
||||
{
|
||||
AddGems(player, 0.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 10, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 4 && streak < 6)
|
||||
{
|
||||
AddGems(player, crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 15, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 6 && streak < 8)
|
||||
{
|
||||
AddGems(player, 1.5 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 20, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
else if (streak >= 8)
|
||||
{
|
||||
AddGems(player, 2 * crowns, streak + " Player Kill Streak", false, false);
|
||||
AddGems(player, 25, streak + " Player Kill Streak", false, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user