Anubis-k 1 question about this eAmod i was testing the script of bg_conquest it seems that its not working
and here is the line
- int x, y, mapindex = 0, bg_id, n;
- unsigned char i;
-
- if( script_hasdata(st,7) )
- nd = npc_name2id(script_getstr(st,7));
- else
- nd = (struct npc_data *)map_id2bl(st->oid);
+ int x, y, i, mapindex = 0, guild_index, bg_id;
+ struct map_session_data *sd;
+ nd = (struct npc_data *)map_id2bl(st->oid);
and on my trunk
// BG eAmod
//int x, y, mapindex = 0, bg_id, n;
//unsigned char i;
//if( script_hasdata(st,7) )
// nd = npc_name2id(script_getstr(st,7));
//else
// nd = (struct npc_data *)map_id2bl(st->oid);
int x, y, i, mapindex = 0, guild_index, bg_id;
struct map_session_data *sd;
nd = (struct npc_data *)map_id2bl(st->oid);