Jump to content
  • 0

Skill duration edit


danielps

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

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!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

skill_cast_db.txt
 

Quote

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

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

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