Core/Scripts: New ItemScript trigger, OnItemRemove #11666

merged 1 commit into from Mar 9, 2014

2 participants


Added new hook for ItemScript OnRemove(Player* player, Item* item). That will allow script action when item is thrown out of player inventory.

TrinityCore member

Why not use OnExpire?


Test it for yourself, OnExpire don't catch this action - coz OnExpire it's for time-limited items.

Thats OnExpire item example - >

@Warpten Warpten merged commit 96e0a7d into TrinityCore:master Mar 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment