case SC_FREEZE:
sc_def = status->mdef*100;
sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
tick_def2 = status_src->luk*30; // Caster can increase final duration with luk
This is my code on freeze. My problem is if Player1 has high luk and try to frost Player2, the duration of freeze is too fast like 2 ~ 3 secs. But If player1 has normal luk or no luk and try to frost player2, the duration of freeze will be normal.
Can someone explain what does sc_def and sc_Def2 are? I need to fix this ASAP.
Question
dave23
This is my code on freeze. My problem is if Player1 has high luk and try to frost Player2, the duration of freeze is too fast like 2 ~ 3 secs. But If player1 has normal luk or no luk and try to frost player2, the duration of freeze will be normal.
Can someone explain what does sc_def and sc_Def2 are? I need to fix this ASAP.
UP!
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.