summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 6a0bf26f6..11f5fba0e 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -27,6 +27,7 @@ struct unit_data {
int skilltarget;
int skilltimer;
int target;
+ int target_to;
int attacktimer;
int walktimer;
int chaserange;
@@ -35,6 +36,7 @@ struct unit_data {
unsigned int canmove_tick;
uint8 dir;
unsigned char walk_count;
+ unsigned char target_count;
struct {
unsigned change_walk_target : 1 ;
unsigned skillcastcancel : 1 ;
@@ -113,7 +115,8 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, sh
// 詠唱キャンセル
int unit_skillcastcancel(struct block_list *bl,int type);
-int unit_counttargeted(struct block_list *bl,int target_lv);
+int unit_counttargeted(struct block_list *bl);
+int unit_set_target(struct unit_data* ud, int target_id);
// unit_data の初期化処理
void unit_dataset(struct block_list *bl);