Give medic 3 score per bandage use (#686)
* Give medic 3 pts per bandage use
This commit is contained in:
parent
1bc44d16ee
commit
82064fcd8d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ minetest.override_item("ctf_bandages:bandage", {
|
||||||
if hp > 0 and hp < limit and ctf_classes.get(user).name == "medic" then
|
if hp > 0 and hp < limit and ctf_classes.get(user).name == "medic" then
|
||||||
local main, match = ctf_stats.player(name)
|
local main, match = ctf_stats.player(name)
|
||||||
if main and match then
|
if main and match then
|
||||||
local reward = 2
|
local reward = 3
|
||||||
main.score = main.score + reward
|
main.score = main.score + reward
|
||||||
match.score = match.score + reward
|
match.score = match.score + reward
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue