NakedWolf Posted March 23, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 120 Reputation: 2 Joined: 03/21/17 Last Seen: February 18, 2021 Share Posted March 23, 2017 Hello, Guys i would like to have a script If the players is equiped with all +20 equipes the cards effect which ever he uses doubled(ex :turtle general is 20% it becomes 40%) thank you.. Quote Link to comment Share on other sites More sharing options...
0 Rynbef Posted March 23, 2017 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: 21 hours ago Share Posted March 23, 2017 Wrong section: Its need to be added source side or database side on each item. Rynbef~ Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted March 24, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted March 24, 2017 .......,{ bonus bStr, ((getrefine() >= 20) ? 40 : 20 ); }, { }, { } change all ur your effect into something like this... ((getrefine() >= 20) ? 40 : 20 ) 1 Quote Link to comment Share on other sites More sharing options...
0 NakedWolf Posted March 24, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 120 Reputation: 2 Joined: 03/21/17 Last Seen: February 18, 2021 Author Share Posted March 24, 2017 (edited) @Emistry can you please tell me where exactly should i add this script ? Am kinda still learning... Thank you Edited March 24, 2017 by NakedWolf Quote Link to comment Share on other sites More sharing options...
0 Kreustoo Posted March 24, 2017 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 216 Reputation: 45 Joined: 05/03/13 Last Seen: March 9 Share Posted March 24, 2017 Just wondering, you want "when EVERY equipment are +20 => card doubled" or, for each equipment wore, if the equipment is +20, the card effect is doubled ? In case of each equipment individually, you can use the Emistry solution. In each card, you change the script (=> you change in item_db the script), if the script is, for example the Hydra card : bonus2 bAddRace,RC_DemiHuman,20; bonus2 bAddRace,RC_Player,20; You change it to : bonus2 bAddRace,RC_DemiHuman,((getrefine() >= 20) ? 40 :20 ); bonus2 bAddRace,RC_Player,((getrefine() >= 20) ? 40 : 20 ); And, voila, when the equipment is +20, the hdyra card will do +40 instead of +20. Quote Link to comment Share on other sites More sharing options...
0 NakedWolf Posted March 29, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 120 Reputation: 2 Joined: 03/21/17 Last Seen: February 18, 2021 Author Share Posted March 29, 2017 thank you but i only want it to double when all the equipe is + 20 ,not just when the weapon is + 20 the above script which you gave doubles it when my weapon is +20: bonus2 bAddRace,RC_DemiHuman,((getrefine() >= 20) ? 40 :20 ); bonus2 bAddRace,RC_Player,((getrefine() >= 20) ? 40 : 20 ); Quote Link to comment Share on other sites More sharing options...
Question
NakedWolf
Hello, Guys i would like to have a script
If the players is equiped with all +20 equipes the cards effect which ever he uses doubled(ex :turtle general is 20% it becomes 40%)
thank you..
Link to comment
Share on other sites
5 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.