equal
deleted
inserted
replaced
142 |
142 |
143 if fCaptures[teamID] == 3 then |
143 if fCaptures[teamID] == 3 then |
144 for i = 0, (numhhs-1) do |
144 for i = 0, (numhhs-1) do |
145 if hhs[i] ~= nil then |
145 if hhs[i] ~= nil then |
146 if GetHogClan(hhs[i]) == alt then |
146 if GetHogClan(hhs[i]) == alt then |
147 SetEffect(hhs[i], heResurrectable, false) |
147 SetEffect(hhs[i], heResurrectable, 0) |
148 SetHealth(hhs[i],0) |
148 SetHealth(hhs[i],0) |
149 end |
149 end |
150 end |
150 end |
151 end |
151 end |
152 if CurrentHedgehog ~= nil then |
152 if CurrentHedgehog ~= nil then |
605 function onGearAdd(gear) |
605 function onGearAdd(gear) |
606 |
606 |
607 if GetGearType(gear) == gtHedgehog then |
607 if GetGearType(gear) == gtHedgehog then |
608 hhs[numhhs] = gear |
608 hhs[numhhs] = gear |
609 numhhs = numhhs + 1 |
609 numhhs = numhhs + 1 |
610 SetEffect(gear, heResurrectable, true) |
610 SetEffect(gear, heResurrectable, 1) |
611 |
611 |
612 elseif GetGearType(gear) == gtPiano then |
612 elseif GetGearType(gear) == gtPiano then |
613 |
613 |
614 for i = 0, 1 do |
614 for i = 0, 1 do |
615 if CurrentHedgehog == fThief[i] then |
615 if CurrentHedgehog == fThief[i] then |