From 51680d33aa582128f94a6091fba2e203ebba8faa Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 31 Jul 2008 05:37:40 +0000 Subject: Removed the mob controller system, now a customization (see topic:194375). The system consists of * script command to spawn a controlled mob * script commands to attach npcs to such mobs and manipulate their AI * a page of documentation for these commands * callbacks at various source code locations that invoke the attached npcs * two npc examples git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/map/mob.h') diff --git a/src/map/mob.h b/src/map/mob.h index 0136b6c98..696d64bf7 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -35,19 +35,6 @@ #define MOB_CLONE_START (MAX_MOB_DB-999) #define MOB_CLONE_END MAX_MOB_DB -// Scripted Mob AI Constants -#define CALLBACK_NPCCLICK 0x100 -#define CALLBACK_ATTACK 0x80 -#define CALLBACK_DETECT 0x40 -#define CALLBACK_DEAD 0x20 -#define CALLBACK_ASSIST 0x10 -#define CALLBACK_KILL 0x08 -#define CALLBACK_UNLOCK 0x04 -#define CALLBACK_WALKACK 0x02 -#define CALLBACK_WARPACK 0x01 - -int mob_script_callback(struct mob_data *md, struct block_list *target, short action_type); - struct mob_skill { short state; short skill_id,skill_lv; @@ -107,8 +94,6 @@ struct mob_data { unsigned steal_coin_flag : 1; unsigned soul_change_flag : 1; // Celest unsigned alchemist: 1; - unsigned no_random_walk: 1; - unsigned killer: 1; unsigned spotted: 1; unsigned char attacked_count; //For rude attacked. int provoke_flag; // Celest @@ -137,9 +122,6 @@ struct mob_data { int deletetimer; int master_id,master_dist; - struct npc_data *nd; - unsigned short callback_flag; - short skillidx; unsigned int skilldelay[MAX_MOBSKILL]; char npc_event[50]; @@ -269,7 +251,6 @@ int mobskill_castend_id( int tid, unsigned int tick, int id,int data ); int mobskill_castend_pos( int tid, unsigned int tick, int id,int data ); int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id); int mob_countslave(struct block_list *bl); -int mob_convertslave(struct mob_data *md); int mob_is_clone(int class_); -- cgit v1.2.3-70-g09d2