Skip to content
Maintankadin

ThatJustHappened: Combat Event Announcement Mod

Chevalier
Wed Jul 16, 2008 7:34 pm
This one isn't working:

Big Bad Wolf (Red Riding Hood Debuff)

/tjh SPELL_AURA_APPLIED;;;Red Riding Hood;;RAID;*target is Little Red Riding Hood.
moduspwnens
Wed Jul 16, 2008 7:35 pm
Sarkan-ZdC wrote:
Juwelcrafting Tank Trinket :)

Figurine - Empyrean Tortoise

/tjh rule SPELL_AURA_APPLIED;;;Empyrean Tortoise;self;SAY;Empyrean Tortoise is used!

/tjh rule SPELL_AURA_REMOVED;;;Empyrean Tortoise;self;SAY;Dodge buff is OVER!

Added. :)
Sarkan-ZdC wrote:Something for Blessing of Protection?

Hmm. For when anybody gains it? Or you cast it on someone? I don't know.
moduspwnens
Wed Jul 16, 2008 7:38 pm
Chevalier wrote:This one isn't working:

Big Bad Wolf (Red Riding Hood Debuff)

/tjh SPELL_AURA_APPLIED;;;Red Riding Hood;;RAID;*target is Little Red Riding Hood.


That's odd. I'll have to check next time I do the event.

http://www.wowhead.com/?spell=30756

That's (what I think) is the spell name, and if it is, it should be caught by "Red Riding Hood." If anyone has a combat log available of it, that would certainly help.
Chevalier
Wed Jul 16, 2008 7:39 pm
When I tried to put it under my rules, nothing happened. Maybe too many ;?
moduspwnens
Wed Jul 16, 2008 7:54 pm
Chevalier wrote:When I tried to put it under my rules, nothing happened. Maybe too many ;?


Oh! I thought you put it in, and it wasn't announcing. Lol. Let me check the rule. I probably left out a semicolon. I was checking WWS reports and everything trying to figure out how it would be different. :P

I checked the rule, and nothing is wrong with it, but I, too, was unable to copy and paste it in. You'll have to type /tjh and input the parts manually (it's not too tough), but it does work. I'll point the developer to your post.
Dimitry
Wed Jul 16, 2008 10:27 pm
moduspwnens wrote:
Sarkan-ZdC wrote:Something for Blessing of Protection?

Hmm. For when anybody gains it? Or you cast it on someone? I don't know.


I'd use a rule for when I cast it on someone. I imagine this would be similar to the DI rule.
Dimitry
Thu Jul 17, 2008 4:22 am

File format

Ok, I took a look at the file format and if you want to copy and paste rules in, it's pretty simple.

The ThatJustHappened.lua saved variables file looks something like this:

Code: Select all
TJH_Rules = {
   "SPELL_CAST_SUCCESS;Dimitry;;Holy Shield;;SELF;Shield Baby!", -- [1]
}
TJH_Options = {
   ["enabled"] = 1,
}


You can just add a new rule by adding a new line. The entire rule goes between the quotes. So after adding one of Modus's rules:

SPELL_AURA_APPLIED;;Dimitry;Avenging Wrath;;SELF;Wings popped

The file looks like this:


Code: Select all
TJH_Rules = {
   "SPELL_CAST_SUCCESS;Dimitry;;Holy Shield;;SELF;Shield Baby!", -- [1]
   "SPELL_AURA_APPLIED;;Dimitry;Avenging Wrath;;SELF;Wings popped", -- [2]
}
TJH_Options = {
   ["enabled"] = 1,
}


edit: oops

Anoteher edit: Make sure you close out of wow before you make changes to the files. If you work ion the file while the game is open, your changes will be overwritten.
Cakes
Thu Jul 17, 2008 7:08 am
For Felmyst, DBM and Bigwigs typically track encapsulate whenever Felmyst changes targets, so it's slightly more difficult to track when the MT gets it.

/tjh rule SPELL_AURA_APPLIED;;MAIN_TANK_NAME;Encapsulate;;RW;Encap on Main Tank

I think that should be right, just change it based on who the main tank is.
Sarkan-ZdC
Thu Jul 17, 2008 11:15 am
moduspwnens wrote:
Sarkan-ZdC wrote:
Sarkan-ZdC wrote:Something for Blessing of Protection?

Hmm. For when anybody gains it? Or you cast it on someone? I don't know.


Someone get's it.

Like that macro in the sticky:

Name has BoP, he can nuke on, but aggro comes back! Or something like that
Sarkan-ZdC
Thu Jul 17, 2008 11:20 am
For PvP I had something like Don't manaburn me bro or so. That was yelling for mana-burn. Did not matter if fokus or target did it (for them I have Addons now), but it always yelled if somebody used it.

It was epic win in 5 player arena.

Possible to have a rule?

The other: Taunt Happy Paladin is always getting my mobs in Hyjal (yes, we do go there also with 2 paladins. Boring as hell but works fast),

so is there a way to add a rule for our own kind of taunt?
moduspwnens
Thu Jul 17, 2008 1:41 pm
Cakes wrote:For Felmyst, DBM and Bigwigs typically track encapsulate whenever Felmyst changes targets, so it's slightly more difficult to track when the MT gets it.

/tjh rule SPELL_AURA_APPLIED;;MAIN_TANK_NAME;Encapsulate;;RW;Encap on Main Tank

I think that should be right, just change it based on who the main tank is.

Added. Thanks :D

Sarkan-ZdC wrote:For PvP I had something like Don't manaburn me bro or so. That was yelling for mana-burn. Did not matter if fokus or target did it (for them I have Addons now), but it always yelled if somebody used it.

It was epic win in 5 player arena.

Possible to have a rule?

Done.

Sarkan-ZdC wrote:The other: Taunt Happy Paladin is always getting my mobs in Hyjal (yes, we do go there also with 2 paladins. Boring as hell but works fast),

so is there a way to add a rule for our own kind of taunt?


At first, I thought no, because it basically works like this in the combat log:
Paladin casts Righteous Defense on PlayerX.
Mob1 is afflicted by Righteous Defense.
Mob2 is afflicted by Righteous Defense.
Mob3 is afflicted by Righteous Defense.

...but if you're wanting when he taunts off of you, we should be able to use that first line. Since he actually has to cast something on you to taunt, it should be fairly simple.
    /tjh rule SPELL_CAST_SUCCESS;;YourName;Righteous Defense;;Taunt off me again, !@#$%.


I'll add it to the list.
moduspwnens
Thu Jul 17, 2008 1:45 pm

Re: File format

Dimitry wrote:<snip>


Thanks! That'll certainly help anyone who's wanting to input rules quickly.
moduspwnens
Thu Jul 17, 2008 1:58 pm
jere wrote:Quick question:

In the last field I see you use *target, which I assume is the escape sequence for having the addon put the target's name. Is there a *targettarget perchance?

If so, then it might be possible to set up a global rule where you don't filter on the casters name (leave that part blank if allowed) and using *targettarget in the phrase.

It may not be possible, just tossing out ideas. If it worked, you wouldn't need a separate taunt rule for each tank.


Nope. The "target" is really only based on the combat log, so I don't think it could do that.