From 576f9ab276404d5a77e44e0983846270d0c4422a Mon Sep 17 00:00:00 2001 From: Inkfish Date: Mon, 25 May 2009 13:05:59 +0000 Subject: Now we can use 'boss_monster' to summon whatever monsters that need to be radared by Convex Mirror. (bugreport:2653) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13813 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 042da1a0c..97e54a8fe 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2485,6 +2485,8 @@ static const char* npc_parse_mob(char* w1, char* w2, char* w3, char* w4, const c memset(&mob, 0, sizeof(struct spawn_data)); + mob.boss = !strcmpi(w2,"boss_monster"); + // w1=,,,, // w4=,,,, if( sscanf(w1, "%31[^,],%d,%d,%d,%d", mapname, &x, &y, &xs, &ys) < 3 @@ -3023,7 +3025,7 @@ void npc_parsesrcfile(const char* filepath) { p = npc_parse_duplicate(w1,w2,w3,w4, p, buffer, filepath); } - else if( strcmpi(w2,"monster") == 0 && count > 3 ) + else if( (strcmpi(w2,"monster") == 0 || strcmpi(w2,"boss_monster") == 0) && count > 3 ) { p = npc_parse_mob(w1, w2, w3, w4, p, buffer, filepath); } -- cgit v1.2.3-70-g09d2