[TF2] UberSteal
Description:
A fairly simple plugin.
If a Medic kills or assists in killing another Medic, he will steal that Medic's Uber.
Cvars:
sm_ubersteal
def. "1.0"Amount of Uber you steal. This is a percent. 2.0 for double, 0.5 for half, etc...
sm_uberoverload
def. "0"Allow Uberstealing past 100% Ubercharge.
ubersteal_version
def. "1.2"Current version running. Do not try to alter this. It's merely used for tracking.
Changelog:
v1.0:
-Initial Release
v1.1:
-Changed sm_ubersteal to a Float multiplier
v1.2:
-Added sm_uberoverload to allow stealing Uber past 100%
v1.2.3: (by Thraka)
-Accounted for Valve removing charge data in player_death by caching it in player_hurt.