diff --git a/Changelog.txt b/Changelog.txt index 17f5f06ba9..f7a2c0d1f3 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,6 @@ Date Added 11/23 + * Fixed script loading small/large monsters. [Valaris] * @charoption is now #option [MC Cameri] * @charpetfriendly is now #petfriendly [MC Cameri] * @charstats is now #stats [MC Cameri] diff --git a/src/map/npc.c b/src/map/npc.c index 09c8238152..b1f9c54ecc 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1925,6 +1925,15 @@ int npc_parse_mob(char *w1,char *w2,char *w3,char *w4) for(i=0;i4000) { // large/tiny mobs [Valaris] + md->size=2; + class-=4000; + } + else if(class>2000) { + md->size=1; + class-=2000; + } + md->bl.prev=NULL; md->bl.next=NULL; md->bl.m=m;