You know the drill, attached is the usual diff to the artdef/xml/lua and a few other small files for the base game.
Please post any interesting changes to modding in this thread to make our own patch notes...
Seems we can now add/remove modifiers to units using this:
Please post any interesting changes to modding in this thread to make our own patch notes...
Seems we can now add/remove modifiers to units using this:
Code:
pUnit:GetAbility():ChangeAbilityCount("ABILITY_XXX", 1)
Code:
pUnit:GetAbility():ChangeAbilityCount("ABILITY_XXX", -1)