Probably for @LeeS
I created a new ability - a debuff.
I want to control it via lua via the changeabilitycount() so that the debug is applied selectively.
problem: it doesn’t work when I apply the change ability on the custom ability the unit doesn’t receive it (no error in lua). If I put an existing ability like ABILiTY_GREAT_GENERAL_MoVement then the lua control works without any problem.
I tested the xml end by putting the custom ability to class_melee and it worked without any trouble: my warriors were getting it by default.
however I would like this ability to be gained (and removed) at will by lua. Is it a limitation of the custom ability?
I created a new ability - a debuff.
I want to control it via lua via the changeabilitycount() so that the debug is applied selectively.
problem: it doesn’t work when I apply the change ability on the custom ability the unit doesn’t receive it (no error in lua). If I put an existing ability like ABILiTY_GREAT_GENERAL_MoVement then the lua control works without any problem.
I tested the xml end by putting the custom ability to class_melee and it worked without any trouble: my warriors were getting it by default.
however I would like this ability to be gained (and removed) at will by lua. Is it a limitation of the custom ability?