From fd7e97b5e56bc22dad7814b20fefe45c66ff5352 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Wed, 24 Nov 2004 01:57:38 +0000 Subject: Fixed script loading small/large monsters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@337 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/map') diff --git a/src/map/npc.c b/src/map/npc.c index 09c823815..b1f9c54ec 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; -- cgit v1.2.3-70-g09d2