WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /Voodoo
    from Rev 554 to Rev 630
    Reverse comparison

Rev 554 → Rev 630

Voodoo.lua
35,11 → 35,11
print(AddOn.."Sorry, you can't change the button in combat.")
return
end
local actiontype,itemID = GetCursorInfo()
local actiontype,itemID,actiontype2,spellID = GetCursorInfo()
if actiontype == "spell" or "item" then
VoodooDB[GetActiveTalentGroup()]["actiontype"] = actiontype
if actiontype == "spell" then
VoodooDB[GetActiveTalentGroup()]["spell"] = select(1,GetSpellName(itemID,actiontype))
VoodooDB[GetActiveTalentGroup()]["spell"] = GetSpellInfo(spellID)
VoodooDB[GetActiveTalentGroup()]["texture"] = GetSpellTexture(VoodooDB[GetActiveTalentGroup()]["spell"])
elseif actiontype == "item" then
VoodooDB[GetActiveTalentGroup()]["spell"] = select(1,GetItemInfo(itemID))
Voodoo.toc
1,7 → 1,7
## Interface: 30200
## Interface: 40200
## Title: Voodoo
## Notes: Poke the button to cast spells on your target!
## Version: 1.1
## Version: 1.2
## SavedVariablesPerCharacter: VoodooDB
 
Voodoo.lua