Help please. How to make that mob could fight the mob?
In battle_check_target entered for the test at the beginning of the function return 1
int battle_check_target( struct block_list *src, struct block_list *target,int flag)
{
int m,state = 0; //Initial state none
int strip_enemy = 1; //Flag which marks whether to remove the BCT_ENEMY status if it's also friend/ally.
struct block_list *s_bl = src, *t_bl = target;
nullpo_ret(src);
nullpo_ret(target);
m = target->m;
return 1;
...
...
}
Question
Racer
Sorry for my English.
Help please. How to make that mob could fight the mob?
In battle_check_target entered for the test at the beginning of the function return 1
, but don't fight mobs.
Why? What did I forget?
Edited by RacerLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.