MysteriousMilk / NS2_CombatPlusPlus

Recreation of Natural Selection Combat mode with with some tweaks and enhancements.
MIT License
6 stars 5 forks source link

Give XP to Nearby Teammates #22

Closed MysteriousMilk closed 6 years ago

MysteriousMilk commented 6 years ago

In the original combat mod, when a player got a kill, their teammates in the area were also given a fractional amount of xp. Lets do the same here.

Some implementation details...

This can probably be implemented in its entirety in CombatScoreMixin.lua. The function CombatScoreMixin:AddCombatKill would be a good starting point.