Jump to content
  • 0

Set temporary char variable on attack


Question

Posted

Hey guys, I have a very very tiny request here. I basically just want a variable "@onhit_mobid" to be set when you attack a monster. All it will do is set the variable = the mobs id.

Any help is appreciated,

thanks~

2 answers to this question

Recommended Posts

Posted

"Attack a monster" is a very wide term. Do you mean physical attacks only or any kind of attacks? What about reflected attacks? What about attacks that hit multiple monsters, like any AoE spells (eg Storm Gust) - you want only one monster ID, so which monster should be chosen in such situations? What about attacks with help of mercenary or homunculus?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...