Manipulating Individual Mob Stats
Manipulating Individual Mob Stats
Just wondering if anyone here has the instructions or a good guide on hoe to manipulate individual mob stats such as str dex int atk def eva etc. The mob_groups.sql file only gives the base leveling options for level and hp, I am looking to go a little deeper on some mobs. These instructions would be much appreciated.
Re: Manipulating Individual Mob Stats
scripts/zones/ZONE_NAME/mobs/MOB_NAME.lua
where id_goes_here is the mob's id and 'do shit' does shit e.g. mob:setHP(9001)
Code: Select all
function onMobSpawn(mob)
if(mob:getID() == id_goes_here) then
do shit;
elseif(mob:getID() == id_goes_here) then
do shit;
end;
Click here for a guide on scripting missions.<Giblet[NewBrain]> kj with this first step would be fine on my shit
Re: Manipulating Individual Mob Stats
you can also add any modifier in mob_spawn_mods.sql for specific IDs