• 0
danielps

Skill duration edit

Question

Hi guys,

I want to reduce the duration of skill decrese agi, its 65 seconds on levle 10 i thinks that is tooo much !!
How do i edit that? 
Thanks!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

skill_cast_db.txt
 

Quote

//-- AL_DECAGI
30,1000,1000,0,40000:50000:60000:70000:80000:90000:100000:110000:120000:130000:130000,0,0

 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
14 hours ago, Stolao said:

skill_cast_db.txt
 

 

No need to edit src?? greaattt !!
Thanks a lot mann !!! But this time is in miliseconds? like, in the skill description saya lvl 1 = 20 seconds, lvl 2 = 25 seconds, this numbers "40000:50000" don't manke sense for me... And duration in mobs and players are different, so what are these numbers? I want this skill to slow player like 1 second only, this mod is in this place?

May i aske you a last question?
I want to duplicate this skill but the new skill i want only to slow the target, this skill is slowing and decreasing agi obviously... the agi decrement is on src side to edit, right?

I found this in skill.c

 

case AL_DECAGI:
	case MER_DECAGI:
		clif_skill_nodamage (src, bl, skill_id, skill_lv,
			sc_start(src,bl, type, (50 + skill_lv * 3 + (status_get_lv(src) + sstatus->int_)/5), skill_lv, skill_get_time(skill_id,skill_lv)));
		break;

To this skill only slow the target and not descrese his agi, i will have to change something here? I didnt find another place where this skill is called in src so i think that is here...

 

Edited by danielps
Missing information

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now