Jump to content
  • 0

How can i Reduce the Freeze Time?


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Cos on my server when you get Freeze 12 sec before it unfreeze?

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

22 hours ago, skymia said:

how to make this only for 4-5 secs

Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try:

		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;

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

did anyone have a guide on reducing it already?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp:

		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;

And change it to:

		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 = 8000 + status->mdef*20;
			tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk
			break;

That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

9 hours ago, Playtester said:

I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp:


		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;

And change it to:


		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 = 8000 + status->mdef*20;
			tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk
			break;

That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior.

ok sir i will try this later i will let you know if working now...thanks sir

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

20 hours ago, Playtester said:

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 = 8000 + status->mdef*20; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break;

how to make this only for 4-5 secs

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

5 hours ago, Playtester said:

Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try:


		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;

 

done sir..thanks alot

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 2/8/2018 at 4:17 PM, Playtester said:

Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try:


		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;

 

how about to increase into 15 seconds? @Playtester

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/09/18
  • Last Seen:  

On 2/6/2018 at 3:12 PM, Playtester said:

I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp:


		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;

And change it to:

sir @Playtester im getting error when compling this script to my status.c ..


		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 = 8000 + status->mdef*20;
			tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk
			break;

That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior.

 

Edited by TrustGTX
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

You mean when you "@reloadscript"? I think it depends on the host.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/15/13
  • Last Seen:  

He means the general Frozen duration. How can he reduce it..i've never actually reduce the Frozen duration but decrease the stats required to gain resistance from such effects.

 

 

LUK & MDEF = Frozen

 

On "status.conf"

 

From

pc_status_def_rate: 100

 

To

pc_status_def_rate: 120

 

But if you use this method, every other status resistance influenced by Stats will be affected too. This means players can gain Stun Immunity by just having the right amount of Stats.

Edited by a p
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

He means the general Frozen duration. How can he reduce it..i've never actually reduce the Frozen duration but decrease the stats required to gain resistance from such effects.

 

 

LUK & MDEF = Frozen

 

On "status.conf"

 

From

pc_status_def_rate: 100

 

To

pc_status_def_rate: 120

 

But if you use this method, every other status resistance influenced by Stats will be affected too. This means players can gain Stun Immunity by just having the right amount of Stats.

 

i already did this, thanks by the way @a p :)

@bump !

@Bump ! Please

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

How can i fix this Freeze Duration? and make it 2 Seconds Freeze only?

 

 

Please Help me :( I really need it.. !

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