Jump to content

PersistentAreaAura Dummy Effect


Cupcake

Recommended Posts

Is there any way of handling the dummy effects for PersistentAreaAura?

I'm asking because after all this time Shitfting Naaru Sliver trinket is still bugged.

So basically on use the item should cast http://www.wowhead.com/spell=45042 and in turn that will trigger http://www.wowhead.com/spell=45043 wich has a Persistent Area Aura: Dummy effect that should cast http://www.wowhead.com/spell=45044 on player if he stays in a 5yd radius around the dynamic object that is spawned.

I've seen that PersistentAreaAura is present in SpellAuras.cpp but didn't see any way of handling dummy effects on custom cases.

Anyone has any idea for a workaround or this feature can't be implemented in the current core?

Link to comment
Share on other sites

Atm when you use the trinket 45042 and 45043 get casted, but not the final 45044 that is responsible with modifying player's stats. So you get just a fancy visual with nothing happening.

I tried to add the 45044 to the Dummy Aura of 45042, and it works, but the buff isn't dependant on the location of the player.So in order for this to work correctly this must be done in the PersistentAura of 45043.

Link to comment
Share on other sites

The core should handle adding/removing 45043.

This is working fine in current rev. but the 45044 should be applied only if the player stays in range of the dynobj that is spawned.

So if the player goes further than 5yds away, 45044 should be removed, if he comes back in the 5yds range then 45044 should be applied again.

Actually I think I'm wrong, 45044 should be applied when 45043 is applied and the same with removing it

Idd, that's why i asked if the PersistentAura code can be customised with custom cases, something like:

if (PersistentAura->GetID() == 45043)
     player->CastSpell(player,45044,true);

I've looked around in the code and there's no functions to handle PersistentAura Dummy effects, like the simple Aura class has for example, just an Update() and a destructor i think.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use