That's only necessary if you serialized the unit (usingAfter you change unit, are you pushing the changes back to the actual unit (e.g. wesnoth.units.to_map()) ?
[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