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
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++;
}
}
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..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?
We use essential cookies to make this site work, and optional cookies to enhance your experience.