Dvrstle Posted August 2, 2012 Posted August 2, 2012 #ifdef RENEWAL_CAST if( sc->data[sC__LAZINESS] ) fixed += fixed * sc->data[sC__LAZINESS]->val2 / 100; /** * AB Sacrament reduces fixed cast time by (10 x Level)% (up to 50%) **/ if( sc->data[sC_SECRAMENT] ) fixed -= fixed * sc->data[sC_SECRAMENT]->val2 / 100; if( sc->data[sC_MANDRAGORA] && (skill_id >= SM_BASH && skill_id <= RETURN_TO_ELDICASTES) ) fixed += 2000; if (sc->data[sC_IZAYOI] && (skill_id >= NJ_TOBIDOUGU && skill_id <= NJ_ISSEN)) fixed = 0; #endif } im going to change it to.. #ifdef RENEWAL if( sc->data[sC__LAZINESS] ) fixed += fixed * sc->data[sC__LAZINESS]->val2 / 100; /** * AB Sacrament reduces fixed cast time by (10 x Level)% (up to 50%) **/ if( sc->data[sC_SECRAMENT] ) fixed -= fixed * sc->data[sC_SECRAMENT]->val2 / 100; if( sc->data[sC_MANDRAGORA] && (skill_id >= SM_BASH && skill_id <= RETURN_TO_ELDICASTES) ) fixed += 2000; if (sc->data[sC_IZAYOI] && (skill_id >= NJ_TOBIDOUGU && skill_id <= NJ_ISSEN)) fixed = 0; #endif } I changed the RENEWAL_CAST to RENEWAL only so that the skills will work to the server even though the renewal casting in my server is not implemented Quote
malufett Posted August 2, 2012 Posted August 2, 2012 even you remove it or change it that way still it won't work cause int fixed = skill_get_fixed_cast(skill_id, skill_lv); is inside another macro and definitely you can get compilation error.. better remove all Macro inside 'skill_castfix_sc'...but still none sense because its like you enable renewal casting... Quote
Dvrstle Posted August 2, 2012 Author Posted August 2, 2012 so how can i activate Mandragora Howling without using renewal casting? =) Quote
malufett Posted August 2, 2012 Posted August 2, 2012 copy the code for mandragora then change 'fixed' to 'time' and put it outside the RENEWAL_CAST macro or beside the other status change.... Quote
Dvrstle Posted August 2, 2012 Author Posted August 2, 2012 can you make the code for me? so that i will not be confused buddy =) Quote
malufett Posted August 2, 2012 Posted August 2, 2012 just above '#ifdef RENEWAL_CAST' if( sc->data[sC_MANDRAGORA] && (skill_id >= SM_BASH && skill_id <= RETURN_TO_ELDICASTES) ) time += 2000; Quote
Question
Dvrstle
im going to change it to..
I changed the RENEWAL_CAST to RENEWAL only so that the skills will work to the server even though the renewal casting in my server is not implemented
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.