mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-24 21:31:09 +00:00
Revert "fixed heal sound index for syringe healing"
This reverts commit 23c6592189
.
We're back to the original index to keep backward compatibility
This commit is contained in:
parent
23c6592189
commit
c4f8211060
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ function checkMedicSyringeHeal(healer)
|
|||
-- if medic skill is atleast on level 3 give max health, otherwise just a half
|
||||
local finalHealth = healeeMaxHealth * (healerMedSkill >= 3 and 1 or 0.5)
|
||||
et.gentity_set(healee, "health", finalHealth)
|
||||
et.G_Sound(healee, 5) -- GAMESOUND_MISC_REVIVE, todo: import?
|
||||
et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import?
|
||||
et.gentity_set(healee, "pers.lasthealth_client", healer)
|
||||
et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD)
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue