Author Topic: Category Spell.AncientDalaranPortals  (Read 223 times)

pjotr pottervogel

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Category Spell.AncientDalaranPortals
« on: July 26, 2020, 03:17:07 AM »
Hello,

the category Spell.AncientDalaranPortals has only the teleport, but there exists also a portal (id:120146), maybe you could add this for right clicking?

Thank you very much for this awesome addon and listening

I found it!
Autobar\retail\ABCategoryData_retail.lua
line 227:
change to
Code: [Select]
AutoBarCategoryList["Spell.AncientDalaranPortals"] = AutoBarSpells:new("Spell.AncientDalaranPortals", spellPortalShattrathIcon, nil,
{
"MAGE", ABGCode:GetSpellNameByName("Teleport: Ancient Dalaran"), ABGCode:GetSpellNameByName("Portal: Ancient Dalaran"),
})

Autobar\retail\CachedSpellData_retail.lua line 160:
Code: [Select]
ABGCS:CacheSpellData(120146, "Portal: Ancient Dalaran");
Everything works ^^

« Last Edit: July 27, 2020, 02:40:50 AM by pjotr pottervogel »

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 355
  • Karma: +10/-0
    • View Profile
Re: Category Spell.AncientDalaranPortals
« Reply #1 on: August 05, 2020, 02:01:39 AM »
Thanks, I will look into it.