tick_def2 = status_src->luk*-10; //Caster can increase final duration with luk break;
I don't realy understand the rate of what the numbers stands for. As I do not want mdef to affect freeze rate, I've tried to remove it from sc_def and replaced it with status->luk*300 as I'm trying to make players to have minumim of 300 luk to achieve unfrozen rate. Am i doing it right?
Does the frost timer increase with the tick_def2 written above?
If I do not wish for the freeze timer to be increased with luk, do i delete the whole line?
As for,
if(sc->data[sC_FREEZE]) mdef += 25*mdef/100;
Is this line specific for freeze timer? How do I make it so that players with high luk will be able to break from freeze status faster?
Does this means that when a player is in a frozen status, their max def turns to 1?
if(sc->data[sC_FREEZE]) def >>=1;
Destination conf>battle>status.conf:
// Adjustment for the natural rate of resistance from status changes.
// If 50, status defense is halved, and you need twice as much stats to block
// them (eg: 200 vit to completely block stun)
pc_status_def_rate: 50
mob_status_def_rate: 100
(This setting is working fine with the stun rate.)
// Required luk to gain inmunity to status changes.
// Luk increases resistance by closing the gap between natural resist and max
// linearly.
This setting indicates required luk to gain complete immunity.
// Eg: 40 vit -> 40% resist. 150 luk -> +50% of the missing gap.
// So 40% + (50% of 60%) = 70%
pc_luk_status_def: 50
mob_luk_status_def: 100
About the status.conf, pc_luk_status_def is not an existing command and I've added it manually. Does it work without editing the src? How do I set it so that luk 300 = unfrozen??
Thanks for taking your time to read this. I realy do appreciate if can answer these questions.
Question
s0ulwingz
Regarding freeze status, I've tried to search for it and I couldn't find a solution regarding my problem.
Therefore I need some answers regarding this.
My server is running on rAthena version SVN r17459.
Destination, src>map>status.c:
As for freeze rate,
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*-10; //Caster can increase final duration with luk break;
I don't realy understand the rate of what the numbers stands for. As I do not want mdef to affect freeze rate, I've tried to remove it from sc_def and replaced it with status->luk*300 as I'm trying to make players to have minumim of 300 luk to achieve unfrozen rate. Am i doing it right?
Does the frost timer increase with the tick_def2 written above?
If I do not wish for the freeze timer to be increased with luk, do i delete the whole line?
As for,
if(sc->data[sC_FREEZE]) mdef += 25*mdef/100;
Is this line specific for freeze timer? How do I make it so that players with high luk will be able to break from freeze status faster?
Does this means that when a player is in a frozen status, their max def turns to 1?
if(sc->data[sC_FREEZE]) def >>=1;
Destination conf>battle>status.conf:
// Adjustment for the natural rate of resistance from status changes.
// If 50, status defense is halved, and you need twice as much stats to block
// them (eg: 200 vit to completely block stun)
pc_status_def_rate: 50
mob_status_def_rate: 100
(This setting is working fine with the stun rate.)
// Required luk to gain inmunity to status changes.
// Luk increases resistance by closing the gap between natural resist and max
// linearly.
This setting indicates required luk to gain complete immunity.
// Eg: 40 vit -> 40% resist. 150 luk -> +50% of the missing gap.
// So 40% + (50% of 60%) = 70%
pc_luk_status_def: 50
mob_luk_status_def: 100
About the status.conf, pc_luk_status_def is not an existing command and I've added it manually. Does it work without editing the src? How do I set it so that luk 300 = unfrozen??
Thanks for taking your time to read this. I realy do appreciate if can answer these questions.
Edited by s0ulwingz9 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.