I'm calling this from a unique power cast by the player. On the creatures death, no loot drops. It acts as though the player isn't the damage dealer. How can solve this?
eEffect = EffectDamage(d2(), DAMAGE_TYPE_BLUDGEONING, DAMAGE_POWER_NORMAL);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, GetItemActivatedTarget());