Nokia Posted February 23, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Share Posted February 23, 2012 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? Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 23, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted February 23, 2012 if( agitcheck || agitcheck2 ){ bonus script here }; AgitCheck for Normal WOE AgitCheck2 for WOE SE Quote Link to comment Share on other sites More sharing options...
Nokia Posted February 23, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Author Share Posted February 23, 2012 (edited) how should look the script if i add maps? if( map == prontera || geffen ){ bonus script here }; Edited February 23, 2012 by Nokia Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 23, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted February 23, 2012 if( strcharinfo(3) == "payon" || strcharinfo(3) == "geffen" ){ script here }; Quote Link to comment Share on other sites More sharing options...
Nokia Posted February 23, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Author Share Posted February 23, 2012 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 :/ Quote Link to comment Share on other sites More sharing options...
Mystery Posted February 23, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted February 23, 2012 Try adding the bonus in the OnEquip section of the bonus. Quote Link to comment Share on other sites More sharing options...
Nokia Posted February 23, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Author Share Posted February 23, 2012 still not working until i re equip the item, map change also dosent change the effect. Quote Link to comment Share on other sites More sharing options...
Question
Nokia
hi, want to use 2 different effects for some items, one effect if woe is on and one if not, like this example:
how can i do this?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.