631 end |
631 end |
632 else |
632 else |
633 if curr_team ~=GetHogTeamName(gear) then |
633 if curr_team ~=GetHogTeamName(gear) then |
634 if CurrentHedgehog==mutant and getGearValue(mutant,"SelfDestruct")==false then |
634 if CurrentHedgehog==mutant and getGearValue(mutant,"SelfDestruct")==false then |
635 SetHealth(CurrentHedgehog, GetHealth(CurrentHedgehog)+kill_reward) |
635 SetHealth(CurrentHedgehog, GetHealth(CurrentHedgehog)+kill_reward) |
636 AddCaption(loc("+1 point"), GetClanColor(GetHogClan(gear)), capgrpMessage) |
636 AddCaption(loc("+1 point"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) |
637 AddCaption(string.format(loc("+%d health"), kill_reward), GetClanColor(GetHogClan(gear)), capgrpMessage2) |
637 AddCaption(string.format(loc("+%d health"), kill_reward), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage2) |
638 increaseTeamValue(curr_team,"Score") |
638 increaseTeamValue(curr_team,"Score") |
639 end |
639 end |
640 if getGearValue(CurrentHedgehog,"Feeder") then |
640 if getGearValue(CurrentHedgehog,"Feeder") then |
641 increaseTeamValue(curr_team,"Score") |
641 increaseTeamValue(curr_team,"Score") |
642 AddCaption(loc("+1 point"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) |
642 AddCaption(loc("+1 point"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) |