Jump to content
  • 0

Set temporary char variable on attack


Truly

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.00
  • Content Count:  201
  • Reputation:   48
  • Joined:  11/17/11
  • Last Seen:  

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~

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

"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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.00
  • Content Count:  201
  • Reputation:   48
  • Joined:  11/17/11
  • Last Seen:  

Well to be more specific (sorry for that), it would need to be strictly melee, close ranged.

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...