share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 12940 39b7b3ed619e
parent 12430 c461a224ec09
child 12988 a15413d896c3
--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Fri Feb 09 12:52:05 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Fri Feb 09 14:33:00 2018 +0100
@@ -633,9 +633,8 @@
                 else
                     if curr_team ~=GetHogTeamName(gear) then
                         if CurrentHedgehog==mutant and getGearValue(mutant,"SelfDestruct")==false then
-                            SetHealth(CurrentHedgehog, GetHealth(CurrentHedgehog)+kill_reward)
+                            HealHog(CurrentHedgehog, kill_reward)
                             AddCaption(loc("+1 point"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage)
-                            AddCaption(string.format(loc("+%d health"), kill_reward), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage2)
                             increaseTeamValue(curr_team,"Score")
                         end
                         if getGearValue(CurrentHedgehog,"Feeder") then