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 <