Jump to content
  • 0
kalabasa

Adding Swap Skill

Question

i followed the guide here

i got error while compiling:

DOTASWAPfu: identifier not found

is there any file that's needs also to be touch? since the guide was very old now

 

 

skill.cpp

void DOTASWAPfu (struct block_list *src, struct block_list *bl)
{
int x=0, y=0;
x=src->x;
y=src->y;
unit_movepos(src, bl->x, bl->y, 1, 1);
clif_slide(src,bl->x,bl->y);
unit_movepos(bl, x, y, 1, 1);
clif_slide(bl,x,y);
clif_specialeffect(bl,34,AREA);
clif_specialeffect(src,34,AREA);
return;
}

   case DT_DOTASWAP:
 DOTASWAPfu(src,bl);
 clif_skill_nodamage(src,bl,skill_id,skill_lv,0);
 break;
    case PR_SLOWPOISON:
    case PR_LEXAETERNA:

 

 

skill.hpp

/// List of Skills
enum e_skill {
    NV_BASIC = 1,
 

DT_DOTASWAP = 2801,
};

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Genwaku (Skill ID# 3021, iRO Name: Illusion - Bewitch)

 

Check that skill

  • Upvote 1
Link to comment
Share on other sites

  • 0
18 hours ago, Bringer said:

Genwaku (Skill ID# 3021, iRO Name: Illusion - Bewitch)

 

Check that skill

thanks i'll check this one

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.