mofo 2 Posted June 6, 2013 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? Quote Share this post Link to post Share on other sites
0 malufett 247 Posted June 15, 2013 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.. 1 mofo reacted to this Quote Share this post Link to post Share on other sites
0 Jaburak 48 Posted June 6, 2013 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 Quote Share this post Link to post Share on other sites
0 mofo 2 Posted June 6, 2013 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. Quote Share this post Link to post Share on other sites
0 mofo 2 Posted June 15, 2013 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? Quote Share this post Link to post Share on other sites
0 malufett 247 Posted June 15, 2013 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.. Quote Share this post Link to post Share on other sites
0 mofo 2 Posted June 15, 2013 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. Quote Share this post Link to post Share on other sites
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