Timokha 0 Posted June 22, 2021 Hi all, I'd like to add to my server achievement system that was presented in RO Mobile (Eternal Love). Ok, close to it ~ Sample: - Collect something (poring card and fabre card) get +1 str. - Pass through 25 level of ET get +5 to DEF. - Kill Drake get +1000 HP. Do you have any good idea on how it should looks like. I was thinking about below, but no effect in both cases. - script sample -1,{ end; OnPCLoginEvent: if(ACHIEVE_0001 = 1) { bonus bStr,100; or autobonus "{ bonus bAllStats,100; }",100,10000,BF_WEAPON|BF_MISC,"{ specialeffect2 EF_FIRESPLASHHIT; }"; } } Your assistance will be highly appreciated!~ Quote Share this post Link to post Share on other sites
0 astralprojection 35 Posted June 22, 2021 if(ACHIEVE_0001 == 1) { Quote Share this post Link to post Share on other sites
0 Timokha 0 Posted June 23, 2021 13 hours ago, astralprojection said: if(ACHIEVE_0001 == 1) { That's was my misprint, but it changes nothing. Does not work, when I log in. Any ideas? Quote Share this post Link to post Share on other sites
0 Waken 7 Posted June 24, 2021 Did you tried? achievement_iscompleted(<ach_id>{, <account_id>}) And if the "bonus syntax" doesn't work you could try to create your own status and assign them to the players when they login. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted June 24, 2021 use OnPCStatCalcEvent by annie ruru https://github.com/AnnieRuru/Release/tree/master/plugins/Release/OnPCStatCalcEvent Quote Share this post Link to post Share on other sites
Hi all,
I'd like to add to my server achievement system that was presented in RO Mobile (Eternal Love).
Ok, close to it ~
Sample:
- Collect something (poring card and fabre card) get +1 str.
- Pass through 25 level of ET get +5 to DEF.
- Kill Drake get +1000 HP.
Do you have any good idea on how it should looks like.
I was thinking about below, but no effect in both cases.
- script sample -1,{ end; OnPCLoginEvent: if(ACHIEVE_0001 = 1) { bonus bStr,100; or autobonus "{ bonus bAllStats,100; }",100,10000,BF_WEAPON|BF_MISC,"{ specialeffect2 EF_FIRESPLASHHIT; }"; } }
Your assistance will be highly appreciated!~
Share this post
Link to post
Share on other sites