Jump to content

Question

Posted

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,
};

 

 

 

 

2 answers to this question

Recommended Posts

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...