Jump to content

[11797][important] Do not remove item on unrelated auraholder remove


Auntie Mangos

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Item with ITEM_SPELLTRIGGER_ON_STORE spell should be removed only on this holder unapply.

* For which repository revision was the patch created?

1178

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/post/136961/

* Who has been writing this patch? Please include either forum user names or email addresses.

Me

https://gist.github.com/1140673

Link to comment
Share on other sites

  • 41 years later...

to explain the problem:

Example Item:

SELECT * FROM item_template WHERE entry=50404;

Has two spells:

71653 at ITEM_SPELLTRIGGER_ON_STORE

72415 at ITEM_SPELLTRIGGER_ON_EQUIP

so what now happens is, that the aura of 72415 can trigger 72414 (aura) which will expire, this will call

Player::DestroyItemWithOnStoreSpell

for the item.

It is identiefied as item with ITEM_SPELLTRIGGER_ON_STORE, and so the item gets removed

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • 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