Skip to content
User Avatar
#2814
Auto-translated
RedHeavenHero
I just checked it on a ballista with a triple shot – it was working. The error is something else.

although, no, it still doesn't work. Can you show me your code, maybe I'm doing something wrong in principle...
I'm writing something like this:

function DefenderMachineMove(machine)
local n = GetWarMachineType(machine)
if n == 1 or n == 2 then
setATB(machine, 0.5)
end
end
the code works, but there's no shift on the scale.

Okay, I moved the shift function to DefenderCreatureMove – now it works. It's strange that I could shift heroes and units within their turns...
Нет войне.

Statistics

Welcome our newest member: Фёдор Фёдорович