From ef1cac570726f59c821ebafd1980302c0035d3ce Mon Sep 17 00:00:00 2001 From: Fate Date: Tue, 30 Dec 2008 04:15:32 -0700 Subject: Added OnPCDieEvent and OnPCKillEvent label support --- src/map/npc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index c843b56..03ad138 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -50,8 +50,11 @@ int do_init_npc(void); int npc_event_do_oninit(void); int npc_do_ontimer(int,struct map_session_data *,int); -int npc_event_doall(const char *name); -int npc_event_do(const char *name); +struct argrec; +int npc_event_doall_l(const char *name, int rid, int argc, struct argrec *argv); +int npc_event_do_l(const char *name, int rid, int argc, struct argrec *argv); +#define npc_event_doall(name) npc_event_doall_l(name, 0, 0, NULL) +#define npc_event_do(name) npc_event_do_l(name, 0, 0, NULL) int npc_timerevent_start(struct npc_data *nd); int npc_timerevent_stop(struct npc_data *nd); -- cgit v1.2.3-70-g09d2