Skip to content

Commit

Permalink
feat: Award only 5 coins for headshots with the sniper (#264)
Browse files Browse the repository at this point in the history
The reward for headshots with the sniper rifle has been reduced to 5 coins in order to better balance the in-game economy. This change helps distribute coins more fairly, preventing excessive accumulation from headshots and encouraging players to focus more on capturing the flag.
  • Loading branch information
MrDave1999 authored Dec 25, 2024
1 parent fdd045a commit 21afe12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Players/HeadShotSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void OnPlayerTakeDamage(Player player, Player issuer, float amount, Weapo
{
PlayerInfo issuerInfo = issuer.GetInfo();
issuerInfo.AddHeadShots();
issuerInfo.StatsPerRound.AddCoins(50);
issuerInfo.StatsPerRound.AddCoins(5);
playerRepository.UpdateHeadShots(issuerInfo);
issuer.GameText("Headshot +1", 3000, 3);
issuer.SendClientMessage(Color.Yellow, "Headshot +1");
Expand Down

0 comments on commit 21afe12

Please sign in to comment.