Commit graph

13 commits

Author SHA1 Message Date
LoneWolfHT ea9d9ad2d8
Revert "Rework melee damage (#878)" (#925)
This reverts commit 84dc7da461.
2021-09-03 16:20:18 -07:00
savilli 84dc7da461
Rework melee damage (#878) 2021-09-03 07:22:20 -07:00
Lars Müller c5560f7a2d
Use huds with more player notifications (#853) 2021-04-01 10:17:17 -07:00
savilli abf1fa2ad5
Don't count kill assist on build time or player immunity (#795)
* Don't count kill assist on build time or player immunity

* Remove register_can_attack, use can_attack global func
2021-02-13 14:17:05 -08:00
Anthony-De f8cb85be9f
Fix up and re-add kill assists (#782)
* Add kill assists

* Fix bug

* Move to seperate mod

* Fix bugs and improve code some more

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-02-08 16:03:03 -08:00
LoneWolfHT 510ca896cd
Revert "Add kill assists (#755)" (#781)
This reverts commit 49f4e6fd47.
2021-02-05 15:46:29 -08:00
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
LoneWolfHT fbf0126599
Allow more than two teams in a match at once (#724)
* Fix bugs with more than two teams

* Fix team allocation

* Fix bugz

* Fix crash

* Fix crash with crash fix
2020-12-25 10:37:02 -08:00
MinetestSam 1f10fd9e22 Remove unused team ownership code; improve team listing (#512) 2019-11-25 13:05:45 +05:30
ANAND 2845448e6e Combine server join message into team join message (#499) 2019-11-24 21:38:56 +01:00
MinetestSam 1c439b163b Remove unused function ctf.post() (#513) 2019-11-16 19:01:02 +05:30
rubenwardy ebf4316594 Fix issues found by luacheck 2019-08-28 18:54:24 +01:00
rubenwardy 450027c3b7 Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
Renamed from mods/ctf_pvp_engine/ctf/teams.lua (Browse further)