capturetheflag/mods/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
..
ctf Add kill assists (#755) 2021-02-01 08:24:29 -08:00
ctf_alloc Allow more than two teams in a match at once (#724) 2020-12-25 10:37:02 -08:00
ctf_bandages Add kill assists (#755) 2021-02-01 08:24:29 -08:00
ctf_bounties Color score green in bounty messages (#745) 2021-01-25 10:49:13 -08:00
ctf_chat Allow more than two teams in a match at once (#724) 2020-12-25 10:37:02 -08:00
ctf_classes Remove grapple if player changes class after throwing (#740) 2021-01-07 17:35:34 -08:00
ctf_colors Allow more than two teams in a match at once (#724) 2020-12-25 10:37:02 -08:00
ctf_crafting Lots of crafting changes/simplification 2021-01-06 12:58:20 -08:00
ctf_events Add CTF Respawn Delay (#712) 2020-12-07 11:30:35 -08:00
ctf_flag Fix up some minetest.is_protected functions 2021-01-06 12:58:20 -08:00
ctf_inventory Reduce respawn immunity time to 5s (#624) 2020-05-10 23:04:59 +05:30
ctf_map Improve initial team chest items (#770) 2021-01-31 08:33:57 -08:00
ctf_marker Shorten marker message (#760) 2021-01-23 09:10:06 -08:00
ctf_match Add medkit interrupt reasons (#729) 2021-01-03 09:20:59 -08:00
ctf_metrics Use mod.conf and modpack.conf 2019-08-31 10:31:14 +05:30
ctf_otherteams Allow more than two teams in a match at once (#724) 2020-12-25 10:37:02 -08:00
ctf_playertag Optimize texture file sizes (#690) 2020-10-24 15:15:18 -07:00
ctf_reports Improve/fix a few things 2020-12-22 08:21:58 -08:00
ctf_respawn_delay Fix bug with players respawning as match ends 2020-12-23 13:24:40 -08:00
ctf_respawn_immunity Fix respawn immunity ending when hitting teammate (#742) 2021-01-20 10:09:55 -08:00
ctf_stats Add kill assists (#755) 2021-02-01 08:24:29 -08:00
ctf_traps Make damage cobble hurt ranged weapon users 2021-01-06 12:58:20 -08:00
ctf_treasure Remove mostly unused treasure and tweak the rest 2020-12-05 10:58:59 -08:00
ctf_userlimit Use mod.conf and modpack.conf 2019-08-31 10:31:14 +05:30
modpack.conf Use "modpack.conf" instead of "modpack.txt" (#441) 2019-08-20 13:06:41 +08:00