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:
Remy Marquis 2019-07-12 17:15:11 +02:00
parent 23c6592189
commit c4f8211060

View file

@ -142,7 +142,7 @@ function checkMedicSyringeHeal(healer)
-- if medic skill is atleast on level 3 give max health, otherwise just a half -- 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) local finalHealth = healeeMaxHealth * (healerMedSkill >= 3 and 1 or 0.5)
et.gentity_set(healee, "health", finalHealth) 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.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)
return 1 return 1