Jump to content
  • 0

2 different effects


Nokia

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

hi, want to use 2 different effects for some items, one effect if woe is on and one if not, like this example:

{ bonus bMdef,50; bonus bUseSPrate,50; if woe on -> bonus bMdef,10; bonus bUseSPrate,10;},{},{}

how can i do this?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


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

if( agitcheck || agitcheck2 ){ bonus script here };

AgitCheck for Normal WOE

AgitCheck2 for WOE SE

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

how should look the script if i add maps?

if( map == prontera || geffen ){ bonus script here };

Edited by Nokia
Link to comment
Share on other sites


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

if( strcharinfo(3) == "payon" || strcharinfo(3) == "geffen" ){     script here    };

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

hmm, its only working if i re - equip the item, example:

{ if( strcharinfo(3) == "payon" || strcharinfo(3) == "geffen" ) { bonus bAspdRate,5;} else { bonus bAspdRate,10; } },{},{}

wont work until i put the weapon off and on :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Try adding the bonus in the OnEquip section of the bonus.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

still not working until i re equip the item, map change also dosent change the effect.

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