Jump to content
  • 0

Freezing Time


Horvath

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   1
  • Joined:  04/24/18
  • Last Seen:  

 

Hello friends I'm new here.

Some time ago I made a server, 2 years ago to be exact, I unfortunately did not save it and lost everything.

Today I'm coming back and I came across this problem already + - a week that I try to solve, I've read everything, and read it again but I only have a headache.

I want to make the time that frozen step is decreased based on my MDEF, the closer to the maximum MDEF of my server the less frozen time, and to reach a value chosen by me is immune to freeze and continue to take damage.

Glad to whom I can help.

PS: If you are in the wrong area people move.

 

 

I do not know how my English is, I hope you understand.

 

 

below is how is status.c:

case SC_FREEZE:
        sc_def = st->mdef*100;
        sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10);
        tick_def = 0; //No duration reduction
#ifdef RENEWAL
        tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk
#else
        tick_def2 = 0; //No duration reduction
#endif
        break;
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

I searched for related questions, maybe you can check this one 

 

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