|
NinjaYell
Adding custom spells to NinjaYell
IntroductionIt's very basic and user-friendly. As long as you have Notepad you should be able to do it. DetailsOpen up the core.lua file inside the NinjaYell folder. You should see a lot of lines that look like this: -- Hello this is a comment Read these. They will help you configure NinjaYell as you want it. Near the top of the file, you should see the line: local SpellDB = {And beneath that a list of ["spells"]. Simply add the spell you want in the same format as the others: ["MySpell"] = {},If you want NinjaYell to use a custom message for that spell, scroll down a little bit farther and find the line: local messages = {Again, below that you should see ["spells"] = {. Again, add the spell and the message you want in the same format. ["MySpell"] = {
Applied = {
"This is a message",
"This is another message",
},
Faded = {
"This message will display when MySpell fades",
"This one might too!",
},
Missed = {
"This message will display when MySpell misses",
},
},NOTE: You don't have to have all 3 event types (Applied, Faded and Missed). Let's say, for example, you only want a custom message when your spell is applied. Simply put your message for Applied in like the example above, but do not include the Faded and Missed portions. Now, when your spell is applied, your custom message(s) will be used, and when it fades or misses, the default message will be used. ALSO NOTE: If you don't want NinjaYell to say anything for a certain event type, simply do: Applied = {
"",
},
|
Sign in to add a comment