Jump to content
  • 0

Adding Swap Skill


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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

 

Check that skill

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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