Jump to content
  • 0

STONE_CURSE


Cyrix

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

where I change the time that the player is petrified?

thx

Edited by Cyrix
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

@status.c

find this line

case SC_ADORAMUS://Arch Bishop
 if (sd) tick>>=1; //Half duration for players.
case SC_STONE:
case SC_FREEZE:
 sc_def = 3 +status->mdef;
break;
case SC_CURSE:

then add

tick += 'your desired duration';

after 'sc_def'

this will add/subtract the global duration of SC_STONE

and take note its in millisecond and don't forget to recompile

:meow:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

/no1 thx...

Solved

case SC_ADORAMUS://Arch Bishop
if (sd) tick>>=1; //Half duration for players.
case SC_STONE:
sc_def = 3 +status->mdef;
tick = 'your desired duration';
break;
case SC_FREEZE:
sc_def = 3 +status->mdef; break;
case SC_CURSE:

Edited by Cyrix
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...