Dvrstle Posted August 2, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Share 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 Link to comment Share on other sites More sharing options...
malufett Posted August 2, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
Dvrstle Posted August 2, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted August 2, 2012 so how can i activate Mandragora Howling without using renewal casting? =) Quote Link to comment Share on other sites More sharing options...
malufett Posted August 2, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
Dvrstle Posted August 2, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted August 2, 2012 can you make the code for me? so that i will not be confused buddy =) Quote Link to comment Share on other sites More sharing options...
malufett Posted August 2, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
Dvrstle Posted August 2, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted August 2, 2012 ow tnx buddy. . =) Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.