Hello eluna community.
I'm currently working on a project using Eluna, and there's a question I'd like to get an answer to.
Is there a way for me to generate a loot table for a spawned monster, instead of relying on the static items in the database?
Is it possible to generate an item "on-the-fly" and add that to the database, then add it to the creature's loot table?
I'm thinking about doing it by hooking the 'CREATURE_EVENT_ON_SPAWN' event, and then replacing said creature's loot table with a loot table containing this generated item.
Is this possible at all, or would I need to reload the database to get access to the newly generated item?
If it is possible, would this stress the server much? I won't need to be able to support many players, as this is 'just' a hobby project, I'm not expecting it to gather lots of attention.