Jump to content
  • 0

onpclogin bDelayRate on readparam Pls help


BabaVoss

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

-	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!

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

@joecalis Good day sir joe, you got any idea how to make this work?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  64
  • Reputation:   40
  • Joined:  03/26/12
  • Last Seen:  

You tried OnPCCalcStatEvent which doesn't exists try: OnPCStatCalcEvent

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

16 hours ago, joecalis said:

You tried OnPCCalcStatEvent which doesn't exists try: OnPCStatCalcEvent

this event script has been removed from rA emulator.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.03
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/17/20
  • Last Seen:  

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.

Link to comment
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.   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.

×
×
  • Create New...