Proc And Flash

NOTE: This is (still) a beta version, not all (useful to know) procs may be implemented. If you find a proc that you really want implemented, please comment about it on this page, I check there very often. (just kidding, I actually don't, you're probably better off finding me in-game)

Proc And Flash flashes the screen with a color, displays large outlined white text, and plays a voice sound related to the proc you obtain.

The voice sounds, eh? They're all me. Yes, me. Feel free to record your own voice or edit mine to make it sound less kiddish or include some effects relevant to the spell proc. Oh, and it'd be cool if you could upload a zipped folder of your customized proc sounds.

Don't like my voice? No problem, use the /paf sfx toggle to turn a sound effect on instead, then use /paf voice off to turn my voice off.

Don't like the color of a certain proc? Want to add your own proc? I tried my best to match decent colors to procs, however, if it's really bugging you then you may:

Open up Proc And Flash.lua (in the addon's root folder)

A bit down in the file you will find an array called PAF_Colors

You can add your own colors using the format colorName = {R(0-255), G(0-255), B(0-255)}

Scroll down a bit after you've had fun in that section and find if playerClass == "DEATHKNIGHT" then

Find the appropriate section of this large lump of class check if statements to insert your proc

If the proc is in the form of a buff, insert it into your class's section in the format Proc.add(spellId, "colorNameFromStep3", "displayNameOfProc", "commandAsWellAsNameOfMP3", "TEXT POPUP ON PROC", countToTriggerAt)

If the proc is not in the form of a buff, you're probably screwed because I removed the reacts section

Save file then open WoW or /console reloadui

Note: spellId can be found on wowhead.com, countToTriggerAt is the amount of stacks of the buff that the flash will trigger at (-1 means any)

v3.1
- Re-voiced all of the procs out of boredom and the fact I'm like a year old, sadly I still sound like a kid - oh well!
- Added Master Marksman talent for hunters
- Fixed the issue of not working due to arg placement (I really need to give them names sometime...)

v3.0beta
- Re-added the 0 stack check in a better way (count == 0 and 1 or count, are you guys getting this?)
- Added the rest of the classes in, aside from rogue which I can't find any useful-to-know procs within

v3.0alpha
- Back to alpha...or is this the first alpha I've had? Oh well...
- Added support for procs that aren't buffs! What a miracle!
- Cataclysm support, yeah, I finally got off my butt and did something
- Re-coded a lot of the addon to be more efficient
- Removed enchant and trinket procs section, it was never useful anyway
- Only Death Knight and Shaman procs are available now
- Added death knight Dark Transformation talent
- Added death knight Sudden Doom talent
- Added shaman Lava Surge talent
- Added shaman Fulmination talent

v2.3.4
- Normalized the volume of all sounds using MP3Gain (which hopefully ended the rattling loudness)
- Attempt to fix proc text from going to 100% opaque a couple ms before it disappears

v2.3.3
- Added mage Firestarter and Blazing Speed talents

v2.3.2
- Fixed shaman Maelstrom Weapon talent again

v2.3.1
- Added warlock Decimation talent

v2.3
- Fixed warlock Molten Core talent to proc at 3 instead of 1
- Added option to use the proc font as the font for your damage numbers

v2.2
- Added sfx option (off by default) for people who don't like my voice (plays shadowdance sound, it seemed decent enough, might change it if someone gives a better one)
- Re-voiced a few procs that I did a bad job on
- Re-worked a few commands to shorten code
- Probably did something else but I can't remember

v2.1
- Found out that Blizzard decided to make the count value of UnitBuff() be either 1 or 0 so had to adjust for that...weird!
- Re-voiced Fingers of Frost (from Ding Gers of Frost, excuse my accent)
- Added Eradication (Affliction talent)
- Added Fatal Flaws (Needle-Encrusted Scorpion)
- As you noticed, there's now a trinket section, I'll add more trinkets to it when I get the time - I promise!

v2.0.1
- Re-added stack count check, oops.

v2.0
- Studied a bit more into Blizzard's XML and lua API, so now the addon's totally rewritten so you or I can easily add a proc with just 1 line of code!
- Reduced the addon code from somewhere around 60 KB to around 18 KB
- Now uses only 44 KB of RAM (or wait, is that more?)
- Categories adjusted
- Commands are automatically generated per proc
- I'm going to call it stable but I could be lying

v1.3.1
- Shortened some code
- Attempted to make /paf output less spammy and more categoryish

v1.3
- Added Lightweave & Shadowguard embroideries
- Had Beardaddy test my addon for a while and he thinks it works well so first release!

v1.2beta3
- Added version in /paf command
- Re-voiced missile barrage without the click noise
- Shortened the code a few lines (thanks richerich @ wowinterface)
- Plan on v1.3 being next as a release, hope you testers out there find me some bugs to squash before I do :)

may i ask how can I use the same sound file for multiple procs, I tried that and in the command line its all messed up, because soundfile is same as command line, i just think its messing everything up for me when I try to toggle something on/off

one of them is talent, the other is ability, I also tried "Barkskin Ability" didn't work, thanks

Well this may be a REALLY late response, but it shouldn't be too much of an issue to copy and paste the soundfile under a different name in the same folder - that should fix your problem!

may i ask how can I use the same sound file for multiple procs, I tried that and in the command line its all messed up, because soundfile is same as command line, i just think its messing everything up for me when I try to toggle something on/off

one of them is talent, the other is ability, I also tried "Barkskin Ability" didn't work, thanks

No problem, I try to fix problems as soon as I see them, and update as soon as possible. Now if only I could find a female with a really hot voice to voice all the procs so I can get more downloads. >.>

Originally posted by Jpapertowels Can you go into the Proc And Flash.lua file and find the , 5, on the line that contains "Maelstrom Weapon" and change it to , 6, then try it? I don't have a shaman so I can't test these things, but I know the count returned by Blizzard's UnitBuff API fuction is really uhh broken.

Originally posted by richerich havent been playin for a week now, but can report that maelstrom weapon still bugs now it announces on 4 stacks, not 5

Can you go into the Proc And Flash.lua file and find the , 5, on the line that contains "Maelstrom Weapon" and change it to , 6, then try it? I don't have a shaman so I can't test these things, but I know the count returned by Blizzard's UnitBuff API fuction is really uhh broken.

Also, to other guy: When divine storm resets you will see it off cooldown on your action bars, which you should probably be looking at. :/ I haven't really discovered the way to detect this because it's not a buff and I'm lazy.