WoWInterface SVN LibSpellName2SID

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /populator/trunk/LookForMultistepSpells
    from Rev 181 to Rev 182
    Reverse comparison

Rev 181 → Rev 182

LookForMultistepSpells.toc
1,11 → 1,11
## Interface: 80205
## Title: Look For Multistep Spells (DEV)
## Notes: Listens to the UNIT_SPELLCAST_SENT event for the player and, upon it being fired, |nlooks whether the corresponding spell Id, for the same spell name, has changed.
## Notes: Listens to the UNIT_SPELLCAST_SENT event for the player and, upon it being fired, looks|nwhether the corresponding spell ID has changed
## Author: aallkkaa
## Version: 1.0
## Version: 1.1
## SavedVariables: MultiStepSpells
## DefaultState: disabled
## X-Category: Development, Spell
## X-License: MIT
## X-WoWI-ID:
 
LookForMultistepSpells.lua
LookForMultistepSpells.lua
31,6 → 31,10
AddonEnv.MultiStepSpells = MultiStepSpells_tbl;
MultiStepSpells = MultiStepSpells_tbl;
 
elseif event == "PLAYER_SPECIALIZATION_CHANGED" then
startSpels_tbl = {}; -- (Re)Set the table for Casts that were made in the current session
print(AddonName.. ": ".. unit.. "\'s Spec changed.")
 
-- Check whether the event fired for one of the supported units and spell; exit otherwise
elseif (unit == "player") or (type(spellID) == "number") then
local spellName = (GetSpellInfo(spellID));