BlzSetAbilityIntegerField
- Parameters
-
whichAbility ability
whichField abilityintegerfield
value integer
- comment
- bug
-
Fixed in PTR 2.0.3.23025; present in v2.0.3.22904, v2.0.3: per-ability instance fields sometimes wrongly apply to all ability instances of the base type. For example,
ABILITY_IF_BUTTON_POSITION_NORMAL_X
.See
BlzSetAbilityStringLevelField
for test code.Bug report: https://us.forums.blizzard.com/en/warcraft3/t/ability-specific-tooltip-natives-broken-in-v20322978/36601
- patch
-
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
boolean
- Source code
-
native BlzSetAbilityIntegerField takes ability whichAbility, abilityintegerfield whichField, integer value returns boolean