Jump to content
  • 0

onpclogin bDelayRate on readparam Pls help


Question

Posted
-	script	agibase	-1,{

OnPCLoginEvent:
	if (readparam(bAgi)>=150) 
	bonus bDelayRate,-90;
	end;
}

Good day, Can someone help me make this script work. I tried, OnPCLoginEvent and OnPCCalcStatEvent. it doesnt work, im not sure what is the problem.

Basically what i want to do is, when a user has atleast 150 Agi, they will have a bonus effect.

disclaimer, yes i know about agibase settings on config. But i wanted to use "kiel card" delay instead.  Thank you in advance!

 

5 answers to this question

Recommended Posts

  • 0
Posted
On 5/10/2023 at 7:29 AM, BabaVoss said:
-	script	agibase	-1,{

OnPCLoginEvent:
	if (readparam(bAgi)>=150) 
	bonus bDelayRate,-90;
	end;
}

Good day, Can someone help me make this script work. I tried, OnPCLoginEvent and OnPCCalcStatEvent. it doesnt work, im not sure what is the problem.

Basically what i want to do is, when a user has atleast 150 Agi, they will have a bonus effect.

disclaimer, yes i know about agibase settings on config. But i wanted to use "kiel card" delay instead.  Thank you in advance!

 

you can put your condition on Kiel Card instead.

  • 0
Posted
2 hours ago, Forshaken said:

you can put your condition on Kiel Card instead.

good day sir @Forshaken what do you mean, sorry i quite dont understand. basically what i wanted to do is, i want to apply kiel script delay rate in function script instead. not attach in item, or card.

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...