WoWInterface SVN ProcWatch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 8 to Rev 9
    Reverse comparison

Rev 8 → Rev 9

zz_ProcWatch/pong.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
zz_ProcWatch/oops.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
zz_ProcWatch/amazing.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
zz_ProcWatch/Laugh.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
zz_ProcWatch/core.lua
13,7 → 13,7
local invSlot = 0
local auras = {}
local enchantDuration = 1
local hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges
local hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges, hasThrownEnchant, thrownExpiration, thrownCharges
local nameWeaponEnchant,iconWeaponEnchant,expirationTimeWeaponEnchant,countWeaponEnchant
local idSpellCD, nameSpellCD, rankSpellCD, iconSpellCD, costSpellCD, isFunnelSpellCD, powerTypeSpellCD, castTimeSpellCD, minRangeSpellCD, maxRangeSpellCD, startSpellCD, durationSpellCD, enabledSpellCD
local txt,index,lsort
68,10 → 68,10
end, "1")
end
if(LSM) then
LSM:Register("sound","ProcWatch Pong","Interface\\AddOns\\"..addon:GetName().."\\pong.wav")
LSM:Register("sound","ProcWatch Oops","Interface\\AddOns\\"..addon:GetName().."\\oops.wav")
LSM:Register("sound","ProcWatch Laugh","Interface\\AddOns\\"..addon:GetName().."\\Laugh.wav")
LSM:Register("sound","ProcWatch Amazing","Interface\\AddOns\\"..addon:GetName().."\\amazing.wav")
LSM:Register("sound","ProcWatch Pong","Interface\\AddOns\\"..addon:GetName().."\\pong.ogg")
LSM:Register("sound","ProcWatch Oops","Interface\\AddOns\\"..addon:GetName().."\\oops.ogg")
LSM:Register("sound","ProcWatch Laugh","Interface\\AddOns\\"..addon:GetName().."\\Laugh.ogg")
LSM:Register("sound","ProcWatch Amazing","Interface\\AddOns\\"..addon:GetName().."\\amazing.ogg")
end
addon['mainframe'] = addon:getMainframe()
addon:checkDualskill()
833,7 → 833,7
-- print("update", addon['nextUpdate'],addon['db']['profile']['update'])
addon['nextUpdate'] = GetTime() + addon['db']['profile']['update']
auras = addon:joinTable(addon:joinTable(addon:joinTable(addon:scanBuffs("player","HELPFUL"),addon:scanBuffs("player","HARMFUL")),addon:joinTable(addon:scanBuffs("target","HELPFUL"),addon:scanBuffs("target","HARMFUL"))),addon:joinTable(addon:scanBuffs("focus","HELPFUL"),addon:scanBuffs("focus","HARMFUL")))
hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges = GetWeaponEnchantInfo()
hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges, hasThrownEnchant, thrownExpiration, thrownCharges = GetWeaponEnchantInfo()
if(hasMainHandEnchant) then
addon:addWeaponEnchant(L['mainhand'], GetInventoryItemTexture("player", 16), GetTime() + mainHandExpiration/1000, mainHandCharges)
auras[#auras+1] = L['mainhand']
854,7 → 854,16
addon['db']['profile']['auras'][L['offhand']]['count'] = 0
end
end
 
if(hasThrownEnchant) then
addon:addWeaponEnchant(L['thrown'], GetInventoryItemTexture("player", 18), GetTime() + thrownExpiration/1000, thrownCharges)
auras[#auras+1] = L['thrown']
else
if(addon['db']['profile']['auras'][L['thrown']]) then
addon['db']['profile']['auras'][L['thrown']]['expirationTime'] = GetTime() - 1
addon['db']['profile']['auras'][L['thrown']]['lastexpirationTime'] = addon['db']['profile']['auras'][L['thrown']]['expirationTime']
addon['db']['profile']['auras'][L['thrown']]['count'] = 0
end
end
for k,v in pairs(spellBook) do
spellName = "SpellCD_"..k
if((addon['db']['profile']['auras'][spellName]) and (addon['db']['profile']['auras'][spellName]['expirationTime'] > GetTime() or addon['db']['profile']['auras'][spellName]['static'])) then
zz_ProcWatch/locale_enUS.lua
20,6 → 20,7
L['Whitelist'] = true
L['mainhand'] = "Mainhand"
L['offhand'] = "Offhand"
L['thrown'] = "Thrown"
L['Scale'] = true
L['Scales the spellbar'] = true
L['Spellsettings'] = true
zz_ProcWatch/locale_deDE.lua
20,6 → 20,7
L['Whitelist'] = "Whitelist"
L['mainhand'] = "Haupthand"
L['offhand'] = "Nebenhand"
L['thrown'] = "Wurfwaffe"
L['Scale'] = "Skalierung"
L['Scales the spellbar'] = "Skalierung der Zauberleiste"
L['Spellsettings'] = "Zaubereinstellungen"
zz_ProcWatch/zz_ProcWatch.toc
5,17 → 5,15
## Author: Rilgamon
## Version: 40300.wowi:revision
## X-WoWI-ID: 15703
## OptionalDeps: Ace3, BrokerPack
## OptionalDeps: Ace3,ButtonFacade,Masque,BrokerPack
## SavedVariablesPerCharacter: zz_ProcWatchCharDB
## LoadManagers: AddonLoader
## X-LoadOn-Always: delayed
 
Libs\embeds.xml
Libs\embed.xml
Libs\externals.xml
init.lua
frames.lua
locale_enUS.lua
locale_deDE.lua
locale_ruRU.lua
 
core.lua