Jump to content
  • 0
Herbertsidy

How put infinite item for Vip

Question

Hello, I searched for how I can set like yggdrasil berry item(or other) for to not be used, and be infinite for one group(like vip).
How I can set infinite usable item for Vip Chacracters?

Thanks

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

just do like official servers

create one NPC to check VIP status, give a box that generates an rental item for 24 hours

check the box & items before player can claim it, only one per inventory

just a work around idea

Link to comment
Share on other sites

  • 0
On 12/6/2021 at 5:19 AM, LearningRO said:

or do some trick 
if(status_vip(VIP_STATUS_ACTIVE)(getitem 608,1;)

How I can set value to group level = 1, 5, or 99(adm example)? or mean the vip status is already some representative value?

Do the script db must be like below?

  - Id: 607
    AegisName: Yggdrasilberry
    Name: Yggdrasil Berry
    Type: Healing
    Buy: 5000
    Weight: 300
    Flags:
      BuyingStore: true
    Delay:
      Duration: 5000
      Status: Reuse_Limit_F
    Script: |
    if(status_vip(VIP_STATUS_ACTIVE)(getitem 607,1;);
      percentheal 100,100;

 

Edit:

I got error:

map.jpeg

Edited by Herbertsidy
Link to comment
Share on other sites

  • 0
On 12/9/2021 at 1:46 AM, Herbertsidy said:

How I can set value to group level = 1, 5, or 99(adm example)? or mean the vip status is already some representative value?

Do the script db must be like below?

  - Id: 607
    AegisName: Yggdrasilberry
    Name: Yggdrasil Berry
    Type: Healing
    Buy: 5000
    Weight: 300
    Flags:
      BuyingStore: true
    Delay:
      Duration: 5000
      Status: Reuse_Limit_F
    Script: |
    if(status_vip(VIP_STATUS_ACTIVE)(getitem 607,1;);
      percentheal 100,100;

 

Edit:

I got error:

map.jpeg

if(vip_status(VIP_STATUS_ACTIVE) ){getitem 607,1;}

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

Important Information

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