Jump to content

Recommended Posts

Posted

I vote yes because it'd allow us to throw in the garbage the current (and ancient -- and HIDEOUS) way to change a mobs size

//FIXME: This implementation is not stable, npc scripts will stop working once MAX_MOB_DB changes value! [skotlex]
if(data->class_ > 2*MAX_MOB_DB){ // large/tiny mobs [Valaris]
	data->state.size=SZ_BIG;
	data->class_ -= 2*MAX_MOB_DB;
} else if (data->class_ > MAX_MOB_DB) {
	data->state.size=SZ_MEDIUM;
	data->class_ -= MAX_MOB_DB;
}

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...