hi guys.. i have a code here that if i wear a knife i can't attack anyone or any monster
if(pc_isequipped(sd, 1202)){
clif_displaymessage(sd->fd, "Can't attack while on Mount.");
unit_stop_attack(src);
return 0;
}
however i was wondering if its possible to create a similar code but instead of can't attack to anything at all, is if i wear a knife i can only attack the monster poring... this is for GOLD farming purposes! thank you guys!
Question
caspa
hi guys.. i have a code here that if i wear a knife i can't attack anyone or any monster
however i was wondering if its possible to create a similar code but instead of can't attack to anything at all, is if i wear a knife i can only attack the monster poring... this is for GOLD farming purposes! thank you guys!
Link to comment
Share on other sites
12 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.