In the past I used this formula to spend a little time with the frozen character.
But this formula is not being accepted when compiling the error emulator in the following name SCDEF_LVL_DIFF , below is the complete formula used. Could anyone help me make it work? Please.
Question
lLoydxx
In the past I used this formula to spend a little time with the frozen character.
But this formula is not being accepted when compiling the error emulator in the following name SCDEF_LVL_DIFF , below is the complete formula used. Could anyone help me make it work? Please.
Directory: src/map/status.cpp
case SC_FREEZE:
sc_def = status->mdef*100;
sc_def2 = status->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); // error > SCDEF_LVL_DIFF <
tick_def = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
if(status->luk >= 300) {
tick_def2 = INT_MIN;
} else {
tick_def2 = status->luk*30;
}
break;
Link to comment
Share on other sites
3 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.