Jump to content
  • 0

Freezing time


thiagobins

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

I want to know how to make luk decrease the time when it is frozen.

I have already tried some changes to the status.cpp in the SC_FREEZE case part. But without success so far.

Could anyone give me a light on this issue? I want that with 190 of LUK the character that is with 80 of MDEF will take 0.3s and if the character is 0 of mdef it will take 10s to thaw.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

1 hour ago, thiagobins said:

I want to know how to make luk decrease the time when it is frozen.

I have already tried some changes to the status.cpp in the SC_FREEZE case part. But without success so far.

Could anyone give me a light on this issue? I want that with 190 of LUK the character that is with 80 of MDEF will take 0.3s and if the character is 0 of mdef it will take 10s to thaw.

https://rathena.org/board/topic/88255-how-can-i-reduce-the-freeze-time/#comment-226216
case SC_FREEZE:
			sc_def = status->mdef*100;
			sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
			tick_def = 6000 + status->mdef*40;
			tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk
			break;

 

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