Jump to content
  • 0

Something about my custom skill


Question

Posted

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

4 answers to this question

Recommended Posts

Posted

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

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