Jump to content
  • 0
Timokha

Add permanent stats, if condition is true

Question

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

3 answers to this question

Recommended Posts

  • 0
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? 

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.