View Single Post
07/04/21, 11:23 AM   #1
DoonerSeraph
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 4
[open] GetEffectiveAbilityIdForAbilityOnHotbar - Companions

The method GetEffectiveAbilityIdForAbilityOnHotbar, if I'm not mistaken, is used to change skills like Elemental Touch to Flame Touch if we are equipped with a Flame Staff.

However, that does not work for companions: If I equip my companion with an Ice Staff, and call GetEffectiveAbilityIdForAbilityOnHotbar(157131,HOTBAR_CATEGORY_COMPANION) (157131 is the ability id for the companion skill Elemental Blast), it still returns the same Id.

Can we fix that so it returns 157135 (Frost Blast)? It would help tremendously so I don't need to track all versions of the skill at the same time

Last edited by DoonerSeraph : 07/07/21 at 09:48 AM.
  Reply With Quote