Jump to content
  • 0

Attach Mercenaries to block_list(bl)


Easycore

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   252
  • Joined:  04/08/13
  • Last Seen:  

Hello rAthena,

I'm trying to attach mercenaries to bl, specifically in clif_specialeffect.

This is for a skill, I tried the following:

case SM_ENDURE:
		clif_skill_nodamage(src,bl,skill_id,skill_lv,
			sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv)));
		if(sd->status.mer_id != 0){
			struct mercenary_data *md;
			struct map_session_data *sd = md->master;
			clif_specialeffect(&md->bl, 244, AREA);
		}
		break;

But this generate map-crash. If someone knows about the subject, and can help me, I would greatly appreciate it.

Regards~

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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