Cant add Debuff. HELP

1 month 1 week ago
Aria
Regular Member
Regular Member
Posts: 18
Karma: 1
More
Topic Author
Cant add Debuff. HELP #972
Cant add any Debuff the "Save" Button os grayed out, Any Help?

Screenshot
imgur.com/a/N99uW7W

Please Log in or Create an account to join the conversation.

1 month 1 week ago
Aria
Regular Member
Regular Member
Posts: 18
Karma: 1
More
Topic Author
Cant add Debuff. HELP #973
Nevermind worked it out, Been changed to Spell ID Instead

Please Log in or Create an account to join the conversation.

1 month 6 days ago 1 month 6 days ago by Strife.
Strife
Administrator
Administrator
Posts: 407
Karma: 8
More
Cant add Debuff. HELP #983
In many cases the API call GetSpellInfo(ID or Name) fails to get info when the name is used, always works with the ID.
In previous versions when Healbot used the name, it didn't really matter. Now using the ID to allow multiple custom debuffs with the same name means the lookup must succeed.

So a change has been made to the Save button, to only enable when the API call succeeds.

EDIT: If you type in a spell known by your class, then it works, but that seems to be the limit, beyond spells known by the class requires the ID.
I suspect it is only caching known spells by name and all spells by ID, it would explain why the API call mostly doesn't work with names.

Please Log in or Create an account to join the conversation.

1 month 6 days ago
Shamkan
New Member
New Member
Posts: 2
More
Cant add Debuff. HELP #996
Hello!
It adds spell by ID, but it doesn't show debuff during fight. Do I need to do something else to make it work?

Please Log in or Create an account to join the conversation.

1 month 6 days ago 1 month 6 days ago by Strife.
Strife
Administrator
Administrator
Posts: 407
Karma: 8
More
Cant add Debuff. HELP #998
Some Buffs and Debuffs have multiple ID's, here is an example for atonement
See the comments

By Rybin (5,151 – 1·15·24) on 2017/04/08 (Patch 7.2.0)
If you're looking for the buff you can track, that's actually 194384: Atonement


You can test with healbot, in 8.1.5.5 open healbot.lua and goto line 4432, add the following:
if name=="SPELLNAME" then HealBot_AddChat(name.." - "..spellId) end
Replace SPELLNAME with the buff/debuff name, this will give you the ID in chat.

EDIT: Sorry line 4432 is for buffs. To catch a debuff id add a new line below 4190, so you end up with this:
else
  if name=="SPELLNAME" then HealBot_AddChat(name.." - "..spellId) end
  HealBot_addCurDebuffs(name, texture, count, debuffType, duration, expirationTime, spellId, unitCaster, isBossDebuff, button)
end

Please Log in or Create an account to join the conversation.

1 month 6 days ago
Shamkan
New Member
New Member
Posts: 2
More
Cant add Debuff. HELP #1000
I think I was not accurate...
I wrote Spell ID (in my case is 283411: www.wowhead.com/spell=283411/gigavolt-blast ), I tried set it Cast by enemy / everyone. Spell didnt show up in fight on Healbot bars.

Please Log in or Create an account to join the conversation.

Moderators: HermisctshammykubikAcirac