Jump to content
  • 0
mofo

Tetra Vortex aspd

Question

Hello again, I'd like to find out what I need to edit to make aspd affect how fast tetra vortex hits. Right now if i use TV, all 4 hits drop instantaneously. How can I change that behavior?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

skill.c

 

case WL_TETRAVORTEX:
if( sc ){
  int i = SC_SUMMON5, x = 0;
  int types[][2] = {{0, 0}, {0, 0}, {0, 0}, {0, 0}};
  for(; i >= SC_SUMMON1; i--){
if( sc->data ){
  int skillid = WL_TETRAVORTEX_FIRE + (sc->data->val1 - WLS_FIRE) + (sc->data->val1 == WLS_WIND) - (sc->data->val1 == WLS_WATER), sc_index = 0, rate = 0;
  if( x < 4 ){
types[x][0] = (sc->data->val1 - WLS_FIRE) + 1;
types[x][1] = 25; // 25% each for equal sharing
if( x == 3 ){
  x = 0;
  sc_index = types[rand()%4][0];
  for(; x < 4; x++)
if(types[x][0] == sc_index)
  rate += types[x][1];
}
skill->addtimerskill(src, tick + (SC_SUMMON5-i) * 206, bl->id, sc_index, rate, skillid, skill_lv, x, flag);
  }
  status_change_end(src, (sc_type)i, INVALID_TIMER);
  x++;
}
  }

 

change the blacken value to status_get_amotion(src) or any value you want..the greater the value the longer the delay..

:meow:

Share this post


Link to post
Share on other sites
  • 0

ASPD effects or the skill cast? Anyways, you can edit the skill behavior here.

 

Hercules/blob/master/db/re/skill_cast_db.txt

//-- WL_TETRAVORTEX2217,5000:6000:7000:8000:9000,2000,0,20000,0,15000,2000

Hercules/blob/master/db/re/skill_db.txt

2217,11,6,1,0,0,0,5,1,yes,0,0,0,magic,0,	WL_TETRAVORTEX,Tetra Vortex2218,11,6,1,3,0,0,5,1,no,0,0,0,magic,0,		WL_TETRAVORTEX_FIRE,Tetra Vortex Fire2219,11,6,1,1,0,0,5,1,no,0,0,0,magic,0,		WL_TETRAVORTEX_WATER,Tetra Vortex Water2220,11,6,1,4,0,0,5,1,no,0,0,0,magic,0,		WL_TETRAVORTEX_WIND,Tetra Vortex Wind2221,11,6,1,2,0,0,5,1,no,0,0,0,magic,0,		WL_TETRAVORTEX_GROUND,Tetra Vortex Earth

Share this post


Link to post
Share on other sites
  • 0

Not the cast time, I'm talking about how fast the hits drop. Just like chain lightning, if your aspd is slow, the damage has higher delay in between.

Share this post


Link to post
Share on other sites
  • 0

Thanks malufett. A question, if I edit skill.c and commit my changes. then I fetch from HerculesWS repo, will git still update my skill.c if there are new changes or will it get ignored from future updates?

Share this post


Link to post
Share on other sites
  • 0

Thanks malufett. A question, if I edit skill.c and commit my changes. then I fetch from HerculesWS repo, will git still update my skill.c if there are new changes or will it get ignored from future updates?

it will ignore as long as the updates are not conflict with your changes..anyway your application will notify you just in case there are conflicts..:D

 

:meow:

Share this post


Link to post
Share on other sites
  • 0

Ok, thanks for clearing that up. I just don't want to miss out on the future updates you guys are rolling out. Hercules is awesome right out of the box anyway, but there are occasional src edits I'd like to add. Thanks again and more power.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.