Jump to content
  • 0

Question

Posted

#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

6 answers to this question

Recommended Posts

Posted

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...:)

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...