lekkereten Posted November 10, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 148 Reputation: 46 Joined: 11/02/11 Last Seen: November 25, 2024 Share Posted November 10, 2012 Mr Euphy had this awesome idea on this topic regarding to a request for modification in monster script command. The request was to deprecate the event label parameter function as size/ai replacement and add two parameters (size and ai). What do you think about implementing it? 2 Link to comment Share on other sites More sharing options...
Ind Posted November 10, 2012 Group: Members Topic Count: 169 Topics Per Day: 0.03 Content Count: 1260 Reputation: 750 Joined: 11/19/11 Last Seen: April 11, 2013 Share Posted November 10, 2012 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; } Link to comment Share on other sites More sharing options...
Recommended Posts