Revert "Add kill assists (#755)" (#781)

This reverts commit 49f4e6fd47.
This commit is contained in:
LoneWolfHT 2021-02-05 15:46:29 -08:00 committed by GitHub
parent 8315d0074a
commit 510ca896cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 92 deletions

View file

@ -24,9 +24,7 @@ minetest.register_craftitem("ctf_bandages:bandage", {
local limit = ctf_bandages.heal_percent *
object:get_properties().hp_max
if hp > 0 and hp < limit then
local hp_add = math.random(3,4)
ctf.add_heal_assist(pname, hp_add)
hp = hp + hp_add
hp = hp + math.random(3,4)
if hp > limit then
hp = limit
end