Jump to content
  • 0

How to change Attack speed (vip)


Smiley33

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.07
  • Content Count:  9
  • Reputation:   0
  • Joined:  02/21/24
  • Last Seen:  

how to change max attack speed permanently  depending on character Vip

ex when non vip  max attack speed will be 195

if vip1 it will be 196 with 99 agi required TIA.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   118
  • Joined:  05/23/12
  • Last Seen:  

Use the OnPCLoginEvent. Get the VIP State for VIP

if(vip_status(VIP_STATUS_ACTIVE) && AGI >= 99)bAspdRate,196;) else {bonus bAspd,195;}

It's not rly complicated. I'd like to call upon everyone once again to please read through the Rathena documentation, as it contains all the answers, one just needs to dig a bit. For example, want to find out about the VIP status? Simply use the search function on the site with *vip_status, and you'll get direct hints. I clearly refer to Doc/Script_comments.txt and Doc/item_bonus.txt. it's not much complicated to do research and try cuz' you will learn and it's much better instead of else everyone get the answer directly and just copy paste into his project. This should not to be an offensive or attack against you please don't miss understand this.

 

Rynbef~

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.07
  • Content Count:  9
  • Reputation:   0
  • Joined:  02/21/24
  • Last Seen:  

Posted (edited)
20 hours ago, Rynbef said:

Use the OnPCLoginEvent. Get the VIP State for VIP

if(vip_status(VIP_STATUS_ACTIVE) && AGI >= 99)bAspdRate,196;) else {bonus bAspd,195;}

It's not rly complicated. I'd like to call upon everyone once again to please read through the Rathena documentation, as it contains all the answers, one just needs to dig a bit. For example, want to find out about the VIP status? Simply use the search function on the site with *vip_status, and you'll get direct hints. I clearly refer to Doc/Script_comments.txt and Doc/item_bonus.txt. it's not much complicated to do research and try cuz' you will learn and it's much better instead of else everyone get the answer directly and just copy paste into his project. This should not to be an offensive or attack against you please don't miss understand this.

 

Rynbef~

i already tried this before but my problem is bonus bAspd,195 is additional attack speed.. after you add more agility on wont capped to 195,

    if (vip_status(VIP_STATUS_ACTIVE) && (readparam(bAgi) > 170) { set MAX_APSD,196; } something like this thanks

Edited by Smiley33
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   118
  • Joined:  05/23/12
  • Last Seen:  

I think this need source modification

 

Rynbef~

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