NinjaYell is a small addon useful for announcing to your group when key spells are applied, removed or missed (resisted, immune, dodge, etc.).
By default NinjaYell will announce:
Sap
Blind
Fear
Psychic Scream
Freezing Trap
Polymorph
Cyclone
Failed Taunts
Failed Distracts
How do I add my own spells?
NinjaYell does not have any kind of config, which is one of the things that keeps this addon so small. To edit what spells you want NinjaYell to announce, open up core.lua in the NinjaYell folder and follow the directions inside. It should be pretty straightforward.
I've added quite a few comments to the core.lua file (they're the lines with the -- before them) to help explain what's happening and what you need to do to add your own spells & messages.
Questions, comments, bug reports, etc.:
Use the buttons under the DOWNLOAD button or leave a comment.
Change Log - NinjaYell
r7
- Removed use of a metatable
- Rearranged addon structure to allow referencing to NinjaYell's tables in game.
r6
- Added slash command to enable/disable the mod
- Fixed a few bugs and (hopefully) made it more efficient
- Added "Interrupt" messages for spells like Kick and Counterspell. Simply add the spell in like you would any other, but instead of making messages for Applied or Faded use Interrupt
r4
- So I decided to log on to my mage to make sure NinjaYell worked for Polymorph, and lo and behold! NinjaYell didn't work for casting at all! This is what I get for exclusively playing a rogue. Oh well, it should be fixed now, I'd appreciate it if someone else could give me some feedback on it.
- If you don't have any SCT addons AND you're not using Blizzard's FCT, it will use the SAY channel
r3
- ToC Version change
- Added color variable. Change the values in this table to change the color of the messages displayed through SCT
r2
- Resetting Change Log
Optional Files - NinjaYell
Sorry, there are currently no optional files available.
Yes please do, currently i'm using castyeller but it's my only addon using the Ace2 framework, everything is non ace or Ace3, so it's like a hugr brick just to broadcast a message :/
Originally posted by Kyron In my guild, when hunters have to MD, we're supposed to broadcast it to the hunter channel so it gives something like this:
Misdirecting MobX to PlayerY (to a custom channel)
%t will return MobX name, how do i do to print PlayerY ?
Hrm, I'll have to add this feature in, as well as a way to announce to custom channels.
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
Originally posted by Terodar Great mod, love the idea of changing the core to keep it light.
Quick question, is there any way to make this announce things in the center of the screen or even in sct? I'd like a way to see when my/my 2s partners' cc breaks somewhere more practical than the chatlog, but if seeing that happen to something that isn't my target isn't going to happen then thats cool.
Also just to make sure i've got the right idea, if i want to announce something to my party, its channel = "PARTY" right?
Thanks in advance
If you're not in a party or raid, then it will look to see if you have any SCT mods (checks for MSBT, SCT and Blizzard's FCT currently) and will use that if it finds one. If it doesn't, then it will use the default "SAY" channel.
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
Great mod, love the idea of changing the core to keep it light.
Quick question, is there any way to make this announce things in the center of the screen or even in sct? I'd like a way to see when my/my 2s partners' cc breaks somewhere more practical than the chatlog, but if seeing that happen to something that isn't my target isn't going to happen then thats cool.
Also just to make sure i've got the right idea, if i want to announce something to my party, its channel = "PARTY" right?
Not included by default, but you can add this in and it will work.
Code:
["Shackle Undead"] = {},
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
Originally posted by Kyron Did you completely remove misdirection from r6 ?
Yes.
Code:
Misdirection = {
Channel = "WHISPER",
Target = function() if (UnitCanAttack("player", "target")) then return UnitName("focus") elseif (UnitIsPlayer("target")) then return UnitName("target") end end,
Applied = "Misdirecting %t to you!",
},
Something else that I forgot to mention in the changelog, you should no longer be getting those "No whisper target!" errors, so this function should work now.
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
Originally posted by closebeauty I'm from China and i'm using the addon from WOW 2.33 to 2.4
But, when the WOW China was updated to 2.4.2, i found the addon doesn't work.
Could you pls tell me why and how to fix it?
Thanks, i like your addon very much.
If you didn't already, then you will need to open up the core.lua file inside the NinjaYell folder, and change the spell names that you find in there. (They are all in English by default)
If you don't know where to look, find the line
Code:
local SpellDB = {
Below that, you should see a list of spells in ["this format"]. Simply change the name of the spell, and it should work.
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
With the latest release, the misdirection line u gave me below doesn't work anymore, no errors, just no whisper to the person i'm misdirecting to.
My MD line
Code:
Target = function() if UnitCanAttack("player", "target") then if UnitExists("focus") then return UnitName("focus") else return UnitName("pet") end else return UnitName("target") end end,
Error i get when having no target so the MD is sent to focus
Code:
[2008/06/08 17:18:02-10048-x1]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell\core.lua:192: in function `Announce'
NinjaYell\core.lua:84: in function <Interface\AddOns\NinjaYell\core.lua:65>
---
Originally posted by Kyron Excellent gonna give it a try right now, though, do you really think it's gonna whisper my pet ?
Edit: i recieved this error today, normal MD to focus
Code:
[2008/05/29 21:22:52-9169-x2]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-r3\core.lua:159: in function `Announce'
NinjaYell-r3\core.lua:65: in function <Interface\AddOns\NinjaYell\core.lua:53>
Also came up when having my MT as focus, Illidan (not in combat yet) in target
Try changing
Code:
UnitCanAttack("player", "target")
to
Code:
UnitCanAttack("target", "player")
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.
Excellent gonna give it a try right now, though, do you really think it's gonna whisper my pet ?
Edit: i recieved this error today, normal MD to focus
Code:
[2008/05/29 21:22:52-9169-x2]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-r3\core.lua:159: in function `Announce'
NinjaYell-r3\core.lua:65: in function <Interface\AddOns\NinjaYell\core.lua:53>
Also came up when having my MT as focus, Illidan (not in combat yet) in target
Originally posted by Kyron Works like a charm but as i expected when i saw the line there is an error.
Code:
[2008/05/28 15:02:37-9136-x1]: SendChatMessage(): Whisper message missing target player!:
<in C code>: ?
<in C code>: in function `SendChatMessage'
NinjaYell-1.0\core.lua:154: in function `Announce'
NinjaYell-1.0\core.lua:60: in function <Interface\AddOns\NinjaYell\core.lua:48>
---
This happen if ihave no focus and no friendly target, as the default is then to MD to my pet, the addon generate an error as the pet isn't a player and i have no friendly target.
Right, my mistake. Try this:
Code:
function() if UnitCanAttack("player", "target") then if UnitExists("focus") then return UnitName("focus") else return UnitName("pet") end else return UnitName("target") end,
This will whisper your focus if you're targeting something hostile. If you don't have a focus, it will whisper your pet. If you're targeting something friendly then it will whisper your target.
I hope that's what you needed.
__________________
-A lot of people are like Slinkies; they're not really good for anything but you can't help but laugh when you see them tumble down the stairs.
-Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
-Borrow money from a pessimist, they don't expect it back.