Jump to content
  • 0

Battle monsters


Racer

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

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

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;
...
...
}

, but don't fight mobs.

Why? What did I forget?

Edited by Racer
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

prontera,150,189,5	script	sfkjhsdfk	100,{
monster "this", -1,-1, "--ja--", 1001,1, 8;
monster "this", -1,-1, "--ja--", 1001,1, "";
end;
}

I'm having popcorn watching them fight each other

http://www.eathena.w...howtopic=274304

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

Thanks /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...