GCFTW_Points_System v2.7.8 released
Changelog:
- [Performance] Moved retrieval of event variables "headshot" and "weapon_id" inside "if (IsValidClient(attacker) && GetClientTeam(attacker) == SURVIVORS)" block.
- [Code QoL] Flipped the condition checking RoundEndCount in Event_Boom function and reformatted the statement handling.
- [Code QoL] Replaced "attacker > 0 && attacker <= MaxClients && IsClientInGame(attacker)" with "IsValidClient(attacker)" in Event_Boom function.
- [Boomer Rework] Added variables t_TagAnnounce[MAXPLAYERS], p_TagPoints[MAXPLAYERS]. The former is a boolean to indicate whether a player has an active timer for survivor tags, and the latter is the amount of points they have accumulated during the time that timer is active.
- [Boomer Rework] Replaced "if (BoomerVictimCount[attacker] > 0)" with "if (!t_TagAnnounce[attacker])" in Event_Boom.
- [Boomer Rework] Changed the point reward for boomer tags to the following point reward: "float local_TagReward = 1.00 + ((BoomerVictimCount[attacker] - 1) * 0.25);"
- [Boomer Rework] Changed boomer tag announce from 3s to 5s. This is also the duration of time which the 0.25pt bonus will continue to be added to each subsequent tag following the first.
- [Boomer Rework] Added -50% point reward scaling for tagging bots.
- [Boomer Rework] Modified BoomerPointAnnounce timer to confirm t_TagAnnounce[attacker] is true, changed the print statement to use p_TagPoints[attacker], and to reset the values of both new variables.