Jump to content
  • 0

Deep Sleep COOLDOWN.


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

how do i fix deep sleep's cooldown, because it is so spammable?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

../src/map/skill.c

   case WM_LULLABY_DEEPSLEEP:
       if( rnd()%100 < 88 + 2 * skilllv )
           sc_start(bl,status_skill2sc(skillid),100,skilllv,skill_get_time(skillid,skilllv));
+           skill_blockpc_start (sd, WM_LULLABY_DEEPSLEEP, 2000);
       break;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

Nothing Happened

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   8
  • Joined:  05/07/12
  • Last Seen:  

why dont you add a simple cool down/after cast delay in skill_cast_db.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

And of course you need to recompile your server.

Kiel Card or any delay reducing items can't bypass this:

../src/map/skill.c

case WM_LULLABY_DEEPSLEEP:
	if( rnd()%100 < 88 + 2 * skilllv )
		sc_start(bl,status_skill2sc(skillid),100,skilllv,skill_get_time(skillid,skilllv));
+			skill_blockpc_start (sd, WM_LULLABY_DEEPSLEEP, 2000);
	break;

and if you want to bypass the delay using delay reduce item then use Docubo's method.

Edited by quesoph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

//-- WM_LULLABY_DEEPSLEEP
2422,3000,5000,0,2000:4000:6000:8000:8000,0,2000,0

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