mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-21 20:11:06 +00:00
fix updated 4th arg of G_AddSkillPoints function
This commit is contained in:
parent
c4fc08e459
commit
0d06bb7805
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
local modname = "medic-syringe-heal"
|
local modname = "medic-syringe-heal"
|
||||||
local version = "0.3"
|
local version = "0.4"
|
||||||
|
|
||||||
-- local constants
|
-- local constants
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ function checkMedicSyringeHeal(healer)
|
||||||
et.gentity_set(healee, "health", finalHealth)
|
et.gentity_set(healee, "health", finalHealth)
|
||||||
et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import?
|
et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import?
|
||||||
et.gentity_set(healee, "pers.lasthealth_client", healer)
|
et.gentity_set(healee, "pers.lasthealth_client", healer)
|
||||||
et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD)
|
et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD, "healing")
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue