Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1164

Lua Labs • Re: Accuracy does not work

$
0
0
After you change unit, are you pushing the changes back to the actual unit (e.g. wesnoth.units.to_map()) ?
That's only necessary if you serialized the unit (using [store_unit] or __cfg).

Where is this code running? You said "whenever attack starts and ends", but exactly what does that mean? From your description, it sounds like guarantee(u, true) is never called, but guarantee(u, false) is.

Statistics: Posted by Celtic_Minstrel — Today, 3:25 am



Viewing all articles
Browse latest Browse all 1164

Trending Articles