Getting a melee or ground targeted skill and target

Nardoth

New member
Messages
26
Points
0
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.

 
Last edited by a moderator:
Back
Top