capturetheflag/mods/ctf/ctf
Anthony-De 49f4e6fd47
Add kill assists (#755)
* Update teams.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua Kill assist implemented

* Update init.lua Remove unused variables

* Added ctf.clearAssists function
Only awards those who did more that 50% of damage
Clears attackers stats after suicide

* Remove unused variable

* Minor modifications

renamed ctf.clearAssists to ctf.clear_assists
changed playerName to player

* Cap assist points

* Reaching full health while in combat clears assist data

* split points between assisting players by damage done

* Reworked assist data storage to work with a table rather than player metadata

* Fix lua check

* Removed duplicate scoring

* Change kill assist color

* Health regen subtracts from assist.
Suicide gives assist points

* Fixed accessing nil value for max_hp

* Corrected max_hp

* hardcode hp list for max hp
2021-02-01 08:24:29 -08:00
..
core.lua Disable knockback completely 2019-11-11 20:57:10 +05:30
hud.lua Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
init.lua Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
mod.conf Fix depends.txt present in mods from ctf_pvp_engine 2019-08-31 11:40:46 +05:30
teams.lua Add kill assists (#755) 2021-02-01 08:24:29 -08:00