Originally posted by [b]Qwadrat[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=433
status.cline: 4467
CODE
case SC_CURSE:
//Special property: inmunity when luk is greater than level
if (status->luk > status_get_lv(bl))
return 0;
else
sc_def = 3 +status->luk;
tick_def = status->vit;
break;
line: 4498
CODE
if (sd) {
if (battle_config.pc_sc_def_rate != 100)
sc_def = sc_def*battle_config.pc_sc_def_rate/100;
if (sc_def < battle_config.pc_max_sc_def)
sc_def += (battle_config.pc_max_sc_def - sc_def)*
status->luk/battle_config.pc_luk_sc_def;
else
sc_def = battle_config.pc_max_sc_def;
if (tick_def) {
if (battle_config.pc_sc_def_rate != 100)
tick_def = sc_def*battle_config.pc_sc_def_rate/100;
}
If
battle_config.pc_sc_def_rate != 100 then
tick_def will be equal to
sc_def and
tick_def = status->vit; will lose the sense