It works with EVENT_PLAYER_UNIT_USE_ITEM and few other item related things.
But i am using an item with spellbook ability which does not work with USE_ITEM
The detection of the usage is by the spellbooks spells with EVENT_PLAYER_UNIT_SPELL_EFFECT
so does anyone know a way to get the casting item?