pedro chaves Posted June 27, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 06/20/18 Last Seen: March 10, 2019 Share Posted June 27, 2018 Hi guys, im building a new RO, and i have karma system. i need make Executioner Card read my SETKARMAPOINTS, and make a calc, EX: if (karmapoints >1000) bonusCrit10 elseif (karmapoints >2000) bonusCrit20 elseif (Karmapoints >300) bonusCrit30 etc... someone can help me? Quote Link to comment Share on other sites More sharing options...
0 hakuren Posted June 27, 2018 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted June 27, 2018 try this Quote 4250,Executioner_Card,Executioner Card,6,20,,10,,,,,,,,32,,,,,{ bonus bCritical,(karmapoints/100); bonus2 bSubSize,Size_Large,25; bonus bDef,1; },{},{} or you can create custom function and call it on your item but the problem if you change the karmapoints Quote Link to comment Share on other sites More sharing options...
0 pedro chaves Posted June 27, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 06/20/18 Last Seen: March 10, 2019 Author Share Posted June 27, 2018 1 hour ago, hakuren said: try this or you can create custom function and call it on your item but the problem if you change the karmapoints dont work man... he cant get karmapoints for make the calc Quote Link to comment Share on other sites More sharing options...
0 pedro chaves Posted June 27, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 06/20/18 Last Seen: March 10, 2019 Author Share Posted June 27, 2018 i get it how u say 4 hours ago, hakuren said: try this or you can create custom function and call it on your item but the problem if you change the karmapoints now i need how to take it on function like that if (karmapoints >1000) bonusCrit10elseif (karmapoints >2000) bonusCrit20elseif (Karmapoints >300) bonusCrit30etc... Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted June 28, 2018 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 5 hours ago Share Posted June 28, 2018 - script sample -1,{ OnPCStatCalcEvent: if (karmapoints > 1000) bonus bCrit,10; else if (karmapoints > 2000) bonus bCrit,20; else if (Karmapoints > 300) bonus bCrit,30; end; } Quote Link to comment Share on other sites More sharing options...
0 pedro chaves Posted June 28, 2018 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 06/20/18 Last Seen: March 10, 2019 Author Share Posted June 28, 2018 11 hours ago, Emistry said: - script sample -1,{ OnPCStatCalcEvent: if (karmapoints > 1000) bonus bCrit,10; else if (karmapoints > 2000) bonus bCrit,20; else if (Karmapoints > 300) bonus bCrit,30; end; } Hi Emistry, thank you! how i can transform it in one function and call for executioner card like it Return xval 4250,Executioner_Card,Executioner Card,6,20,,10,,,,,,,,32,,,,,{ bonus bCritical,(xval},{},{} Quote Link to comment Share on other sites More sharing options...
Question
pedro chaves
Hi guys, im building a new RO, and i have karma system.
i need make Executioner Card read my SETKARMAPOINTS, and make a calc,
EX:
if (karmapoints >1000) bonusCrit10
elseif (karmapoints >2000) bonusCrit20
elseif (Karmapoints >300) bonusCrit30
etc...
someone can help me?
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.