Jump to content

  •  

Photo

Getting a melee or ground targeted skill and target


  • Please log in to reply
No replies to this topic

#1 Nardoth

Nardoth

    Member

  • Members
  • PipPip
  • 26 posts

Posted 25 August 2016 - 01:31 AM

When a magic skill is casted on an enemy of my map_session_data *sd I can get both the skill id and target with sd->ud.skill_id and sd->ud.skill_target but this is not the case on a melee or ground targeted skill (it returns 0 with that method, for some reason).

 

How do I get both of those variables in those cases?

 

EDIT: Close this thread, I solved it.


Edited by Nardoth, 17 September 2016 - 08:30 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 13 user(s)