Is you get a scorch hit form a 3/3 ImpScorch mage than set the count to 5 and restart the bar
If/When you get a SPELL_AURA_APPLY set the count to 1 and restart the bar
If/When you get a SPELL_AURA_APPLY_DOSE set the count to arg13 and restart the bar
This leads to:
I scorch a mob -> a new bar with 5 stacks shows up
If the mob wasn't full scorched I also get SPELL_AURA_APPLY(_DOSE) -> set the proper scorch ammount
The drawback of this very easy approach is that for a split second you see 5 instead of the real ammount if you are still stacking scorches BUT it is more correct to reset the bar when you receice SPELL_AURA_APPLY(_DOSE) because that is the very moment the countdown starts.
Of course this is mere academy since the most frequent scorch stack (the 6th) is still bound to SPELL_DAMAGE AND the 3/3 ImpScorch Mage list... painfull.
First of all, thank you to picking up scorchio again.
As you probably have seen already I replaced the scorch+number icon with the raid target in my version, feel free to copy the code if you like, it's an hard cookie to crack but I have tested it a lot and it works fine 99% of the time.
for the ones of you to lazy to apply the EJ patch posted above I've added scorchio-ej, just the regular (unworking) scorchio plus the EJ patch that make it works with 2.4 almost perfectly (minor issues outdoor, no problem in raid)
for the ones of you who like the danger I've posted a beta version of my rewritten scorchio, new combat event handling approach and raid target icon support, it also color you target in red, I think is not that usefull to have multiple bar for same-name mobs if you can't tell them apart.
This version lacks some options and don't have the minimap icon becaus I hate minimap icons and becaus I'm planning to use the new shiny 2.4 waterfall blizzard clone as option GUI.
I'm still facing the rewrinting of the sync handling, so no sync yet.
I repeat, this is a beta, if you want a fully working scorchio, use EJ one.
I am trying to get this addon to work for French versions of wow.
the localisation file seem to only concern tooltips and options, so I skipped it for the time being. I tried to replace references to talents in the core.lua file.
could anyone give me more guidelines to make this localization proper ?
Regards.
function Scorchio:COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, _, srcName, _, destGUID, destName, _, _, spellName, _, _, _, resisted)
if (event == "SPELL_DAMAGE" and spellName == "Scorch" and srcName == playerName) then
castTime = GetTime()
Debug("code", tostring(playerName) .. ": " .. tostring(casterTable[playerName]) .. ", " .. tostring(castTime) .. " SELF")
if casterTable[playerName] == nil or casterTable[playerName] < castTime - 1.2 then
if not Scorchio.db.profile.blacklist[playerName] then
Debug("sync", ">: " .. tostring(playerName) .. ", " .. tostring(destName))
self:SendCommMessage("GROUP", playerName, destName, "SSYN")
casterTable[playerName] = castTime
self:UpdateTableScorch(destName, castTime)
self:CreateBar(scorchTable[destName])
else
Debug("sync", tostring(playerName) .. " blacklisted. Ignoring event.")
end
else
Debug("duplicates", "Duplicate event ignored (" .. tostring(playerName) ..") SELF")
end
0
Is you get a scorch hit form a 3/3 ImpScorch mage than set the count to 5 and restart the bar
If/When you get a SPELL_AURA_APPLY set the count to 1 and restart the bar
If/When you get a SPELL_AURA_APPLY_DOSE set the count to arg13 and restart the bar
This leads to:
I scorch a mob -> a new bar with 5 stacks shows up
If the mob wasn't full scorched I also get SPELL_AURA_APPLY(_DOSE) -> set the proper scorch ammount
The drawback of this very easy approach is that for a split second you see 5 instead of the real ammount if you are still stacking scorches BUT it is more correct to reset the bar when you receice SPELL_AURA_APPLY(_DOSE) because that is the very moment the countdown starts.
Of course this is mere academy since the most frequent scorch stack (the 6th) is still bound to SPELL_DAMAGE AND the 3/3 ImpScorch Mage list... painfull.
0
http://wowwiki.com/API_GetSpellInfo
Abracadabra, spell name localized.
*cough* as you may also see in the init part of my version of scorchio *cough**cough*
0
0
As you probably have seen already I replaced the scorch+number icon with the raid target in my version, feel free to copy the code if you like, it's an hard cookie to crack but I have tested it a lot and it works fine 99% of the time.
0
0
for the ones of you to lazy to apply the EJ patch posted above I've added scorchio-ej, just the regular (unworking) scorchio plus the EJ patch that make it works with 2.4 almost perfectly (minor issues outdoor, no problem in raid)
for the ones of you who like the danger I've posted a beta version of my rewritten scorchio, new combat event handling approach and raid target icon support, it also color you target in red, I think is not that usefull to have multiple bar for same-name mobs if you can't tell them apart.
This version lacks some options and don't have the minimap icon becaus I hate minimap icons and becaus I'm planning to use the new shiny 2.4 waterfall blizzard clone as option GUI.
I'm still facing the rewrinting of the sync handling, so no sync yet.
I repeat, this is a beta, if you want a fully working scorchio, use EJ one.
0
I'm just recoding that part and, no, there's no need to localize spell/talent names anymore. GetSpellInfo <3
0
maybe?
0
Waiting for the wowace-svn-requests guys to woke up, I'll use code.google.
@Radar: Since I'm not the original author I don't know the code that well also I'm planning to rewrite the most part of core.lua, /shrug
0
Line #2 spellName == "Scorch" localize it.
0
Many (if not all) of the ace updater programs (WAU/JWU) auto-updates on library change.
So you have to put Scorchio! in ignore list to avoid auto-update.
I repeat this is a quick and dirty fix, NOT all the original features are working, same are not working properly, same are not working at all.
0
Well, I've requested svn write access 15 days ago, still no answer...
Perhaps you can help by sending a PM to Kaelten, someting like "move your lazy ass".
0
I'm not the original author of Scorchio!, I don't take credit nor responsibility.
http://rage.890m.com/scorchio-sent.zip