NakedWolf Posted March 23, 2017 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
0 Rynbef Posted March 23, 2017 Posted March 23, 2017 Wrong section: Its need to be added source side or database side on each item. Rynbef~ Quote
0 Emistry Posted March 24, 2017 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
0 NakedWolf Posted March 24, 2017 Author 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
0 Kreustoo Posted March 24, 2017 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
0 NakedWolf Posted March 29, 2017 Author 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
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..
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.