mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11670] Implement in proper way ITEM_SPELLTRIGGER_ON_STORE (5)
Item spells with this trigger mode expected casted at item add to inventory/equip slots (exclude bank), and spell auras (if any) applied while item in like slots. Item expected destroyed at aura remove by some reason. Implementation note: because 2 step way item moves from slot to slot related auras not removed at internal RemoveItem call and removed only at directly item destroy/remove from player function calles, or at StoreItem (if item added to not appropriate slot). So need in future careful with new RemoveItem call cases.
This commit is contained in:
parent
3f840222ee
commit
04a469f393
6 changed files with 122 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11669"
|
||||
#define REVISION_NR "11670"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue