Jump to content
  • 0

Something about my custom skill


Scylla

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

[ I'm sorry if this wasn't the right thread to post to since i don't know where's the right place to post this ]

 

So i actually made a custom skill that's similar to swordman's bash skill but the animation of the skill is not the attacking animation instead it's like you're just casting a buff or something like this (I used the priest sprite as an example):

 

ZgMG9OD.gif

 

 

And i would like to make it the attack animation and i have no idea how to do it like this one:

 

2oixnM0.gif

 

 

 

Additionally, whenever i cast it, the delay of the skill doesn't depend on your agi / dex. My setup on skill_db is:

 

skill_db:

1025,-1,6,1,-1,0,0,10,1,no,0,0,0,weapon,0,	EX_CUSTOM_SKILL,Custom Skill

I'm really sorry for my bad english.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   10
  • Joined:  11/28/11
  • Last Seen:  

Could you provide more detail?

Like the coding of the skill in skill.c etc.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

My source info is here:

 

battle.c

case EX_GOSPEL_STRIKE:
	skillratio += 100*(skill_lv+2);
	break;

skill.h

EX_GOSPEL_STRIKE = 1025,

skill.c

case EX_GOSPEL_STRIKE:
		skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
		//clif_specialeffect(src,34,AREA); //
		clif_specialeffect(bl,800,AREA); // Special effects
		clif_specialeffect(bl,8,AREA); // Special Effects
		break;

And i followed this guide: https://rathena.org/wiki/Adding_new_skills

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   259
  • Joined:  04/25/12
  • Last Seen:  

I think this have something to act files

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

Yeah i also thought about that but the question is where can i possibly set / edit it

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