Would there be a "best" approach at including a lua file to every beastmen lua ?
for example, in zone/west_sarutabaruta/mobs/Yagudo_*.lua I would include something like:
Code: Select all
require("/scripts/globals/mobs/beastmen.lua");
require("/scripts/globals/mobs/yagudo.lua");
Something like this that you could call in the onMobDeath() of the mob ?:
Code: Select all
function dropGilOnDeath(mob, killer)
-- Check level and give players the gils
end