Venture Posted October 1, 2013 Posted October 1, 2013 (edited) I am trying to create a custom OnPCAttack event, which gets the Attacked monster's ID when a player does physical strikes. How do I do this..? I saw something similar on eAthena, http://www.eathena.ws/board/index.php?showtopic=205005 But that is when the NPC attacks the Player. Which part of the source should I add this? npc_event_doall("OnEventName"); pc_setglobalreg(sd,"var name =o",var from source which you want to import); How do I do On PC Attack? And can I actually attach Temporary NPC variable to monsters with script? Edited October 1, 2013 by gekigengar Quote
Emistry Posted October 3, 2013 Posted October 3, 2013 this ? http://rathena.org/board/topic/76358-label-onpcattackmobevent/ Quote
Venture Posted October 3, 2013 Author Posted October 3, 2013 (edited) this ? http://rathena.org/board/topic/76358-label-onpcattackmobevent/ Does it support the custom variable to get the attacked monster's GID? <Required> How do I remove the mapflag limitation? Edited October 3, 2013 by gekigengar Quote
Question
Venture
I am trying to create a custom OnPCAttack event, which gets the Attacked monster's ID when a player does physical strikes.
How do I do this..?
I saw something similar on eAthena,
http://www.eathena.ws/board/index.php?showtopic=205005
But that is when the NPC attacks the Player.
Which part of the source should I add this?
How do I do On PC Attack?
And can I actually attach Temporary NPC variable to monsters with script?
Edited by gekigengar2 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.