Jump to content
  • 0

how to edit pet auto attack like homunculus


megaboy

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

i have a question how to edit pet auto attack like homunculus. example when i see a monster my pet will attack monster automatic.

someone tell me to edit in src/map/pet.c  but i don't know how to edit

 

anyone help me please.

 

sorry for my bad english.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

I'm not sure how to edit pet that works like homun. but maybe this can help you not in a way that it works like homun but instead if the master/player attacked by a monster.

 

you can see this on your trunk/conf/battle/pet.conf

// When the master attacks a monster, whether or not the pet will also attack. (Note 1)
pet_attack_support: no

// When the master receives damage from the monster, whether or not the pet attacks back. (Note 1)
pet_damage_support: no

just try to change no to yes. and after that use @reloadbattleconf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

thank you sir... i try already, its work but pet is not auto attack first.

in your case a player will attack monster first, pet will attack too.

Edited by megaboy
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...