Jump to content
  • 0

help in SC skill


daen

Question


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

hey can i ask again how to disable other status effect of masquerade unlucky or Shadow Chaser? i want stun only?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   6
  • Joined:  06/16/13
  • Last Seen:  

on src/map/status.c
 
find this line:

case SC__UNLUCKY:
{
	short rand_eff; 
	switch(rand() % 3) {
		case 1: rand_eff = SC_BLIND; break;
		case 2: rand_eff = SC_SILENCE; break;
		default: rand_eff = SC_POISON; break;
	}

change to this :

case SC__UNLUCKY:
{
	short rand_eff; 
	switch(rand() % 3) {
		default: rand_eff = SC_STUN; break;
	}

and then recompile your server.

Link to comment
Share on other sites


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

on src/map/status.c

 

find this line:

case SC__UNLUCKY:
{
	short rand_eff; 
	switch(rand() % 3) {
		case 1: rand_eff = SC_BLIND; break;
		case 2: rand_eff = SC_SILENCE; break;
		default: rand_eff = SC_POISON; break;
	}

change to this :

case SC__UNLUCKY:
{
	short rand_eff; 
	switch(rand() % 3) {
		default: rand_eff = SC_STUN; break;
	}

and then recompile your server.

HOW ABOUT THE TIME FOR THE STUN THE STUN LAST LIKE 15 SECONDS status_change_start(src,bl,rand_eff,10000,val1,0,0,0,tick,1);

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