Jump to content
  • 0

About freeze timer and rate.


s0ulwingz

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/03/13
  • Last Seen:  

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 s0ulwingz
Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/03/13
  • Last Seen:  

Sorry for bumping but i really need help regarding this matter asap!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

They officialy remove this on SVN 17201 up to now so if you want the old one base on luck better use old revisions below 17200. ( but if you want it on latest revision you have to do it manually that would be hard enough encoding again. )
 

// 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

Edited by Noire
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/03/13
  • Last Seen:  

I see... Thanks.

Do you have any idea about the rest?
Bump
Re-bump...
Seriously no1 knows?
Yet... another bump...
No one is willing to share?

Edited by Emistry
Merged bump posts.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

BUMP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

bumppp

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  10/19/12
  • Last Seen:  

Ok, i think i can help you with your problem, but please, try to go straight to the point.

 

Im a bit confused.

 

You want to increase Freeze duration?

You want to decrease duration?

 

What do you want to do?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

decrease duration

i want make luk 200 freeze 5-10 seconds


bump

Edited by PapaZola
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  10/19/12
  • Last Seen:  

decrease duration

i want make luk 200 freeze 5-10 seconds

bump

 

Ok, the code where you can edit the def and the tick (time is in status.c line 7021)

 

You just need to change it and its up to you how the freeze behaves.

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;

All the Tick time of status is set on miliseconds, meaning that if you multiply 200 luk * -10 = -2000 Miliseconds.

 

Try increasing the *-10 value to a higher value maybe 20 , 30. Recompile and thest until you get the results you are looking for.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

 

decrease duration

i want make luk 200 freeze 5-10 seconds

bump

 

Ok, the code where you can edit the def and the tick (time is in status.c line 7021)

 

You just need to change it and its up to you how the freeze behaves.

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;

All the Tick time of status is set on miliseconds, meaning that if you multiply 200 luk * -10 = -2000 Miliseconds.

 

Try increasing the *-10 value to a higher value maybe 20 , 30. Recompile and thest until you get the results you are looking for.

 

 

yusoke stormgust now luk 200 freeze timer only 5 seconds

but why frost diver 20 seconds?

can u help me make to 5 seconds also?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...