Jump to content
  • 0

M>Convex Mirror


GM Winter

Question


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

Hello regarding convex mirror is there any chance to change the 100% seach to 50% chance only meaning theres a chance to failed if they use it?

 

Quote

      sc_start SC_BOSSMAPINFO,600000,0;

 

Edited by GM Winter
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  234
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt:

*sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}};
Optional value <rate> is the chance that the status will be invoked (100 = 1%).
This is used primarily in item scripts. When used in an NPC script, a flag MUST
be defined for the rate to work.
sc_start SC_BOSSMAPINFO,600000,0,5000;

 

Edited by Winterfox
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

28 minutes ago, Winterfox said:

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt:

*sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}};
Optional value <rate> is the chance that the status will be invoked (100 = 1%).
This is used primarily in item scripts. When used in an NPC script, a flag MUST
be defined for the rate to work.
sc_start SC_BOSSMAPINFO,600000,5000;

 

thank you so much for your reply

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

22 hours ago, Winterfox said:

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt:

*sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}};
Optional value <rate> is the chance that the status will be invoked (100 = 1%).
This is used primarily in item scripts. When used in an NPC script, a flag MUST
be defined for the rate to work.
sc_start SC_BOSSMAPINFO,600000,5000;

 

ive try this and i think it still got 100% chance even i edit this 

sc_start SC_BOSSMAPINFO,600000,5000;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/12/12
  • Last Seen:  

13 minutes ago, GM Winter said:

ive try this and i think it still got 100% chance even i edit this 

sc_start SC_BOSSMAPINFO,600000,5000;
*sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}};

It should be like this

sc_start SC_BOSSMAPINFO,600000,0,5000;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

3 hours ago, Nyxz said:
*sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}};

It should be like this

sc_start SC_BOSSMAPINFO,600000,0,5000;

thank you so much

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

alternative ...

if (rand(2)) 
	sc_start SC_BOSSMAPINFO,600000,0;

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

7 minutes ago, Emistry said:

alternative ...

if (rand(2)) 
	sc_start SC_BOSSMAPINFO,600000,0;

 

thank you sir @Emistry i will try this too

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