# HG changeset patch # User Wuzzy # Date 1493081428 -7200 # Node ID 1be56fa243c8aa7d61c69e520f00392b0230f1f1 # Parent a85212a8d0e086fabffe2f98a9cc54ef2edddaaf Clarify how the weapons restocking works in Highlander diff -r a85212a8d0e0 -r 1be56fa243c8 share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Tue Apr 25 02:13:18 2017 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Tue Apr 25 02:50:28 2017 +0200 @@ -273,8 +273,8 @@ EnableGameFlags(gfInfAttack, gfRandomOrder, gfPerHogAmmo) DisableGameFlags(gfResetWeps, gfSharedAmmo) HealthCaseProb = 100 - Goals = loc("Highlander: Eliminate enemy hogs and take their weapons") .."|" .. - loc("Constant Weaponry: Weapons are reset on end of turn") + Goals = loc("Highlander: Eliminate enemy hogs to take their weapons") .. "|" .. + loc("Replenishment: Weapons are restocked on turn start of a new hog") end function onGameStart() @@ -313,6 +313,10 @@ function CheckForHogSwitch() + --[[ Restock the weapons of the hog on turn start, provided it is not the same hog as before. + This exception is done do avoid a single hog receiving tons of weapons when it is the only unfrozen + hog and takes consecutive turns. ]] + if (CurrentHedgehog ~= nil) then currHog = CurrentHedgehog