megaboy Posted December 29, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 08/16/13 Last Seen: January 29, 2015 Share Posted December 29, 2014 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. Quote Link to comment Share on other sites More sharing options...
Radian Posted December 29, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted December 29, 2014 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 Quote Link to comment Share on other sites More sharing options...
megaboy Posted December 30, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 08/16/13 Last Seen: January 29, 2015 Author Share Posted December 30, 2014 (edited) 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 December 30, 2014 by megaboy Quote Link to comment Share on other sites More sharing options...
Question
megaboy
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.