if newowner == PLAYER_1 == nil then
""Bobruisk"", ""TownCaptured""
for i = 1, 14 do
total = total + GetHeroCreatures( heroname, i ) * costs;
end;
AddHeroCreatures( heroname, 15 + i, factor[i + 15] * coeff );
New here? I'm Roha — want a quick tour?
if newowner == PLAYER_1 == nil then
""Bobruisk"", ""TownCaptured""
for i = 1, 14 do
total = total + GetHeroCreatures( heroname, i ) * costs;
end;
AddHeroCreatures( heroname, 15 + i, factor[i + 15] * coeff );