Jump to content
  • 0

Implementing Conditional HP Boost Based on Item Possession


Question

Posted (edited)

Hello rAthena Community! suika game

I've been inspired by a recent discussion on granting players extra HP if they possess a certain item. I'm looking to implement a similar feature but with a twist. Here's what I aim to achieve:

•  Players should receive a temporary HP boost when they have a specific item in their inventory.

•  This boost should only be active during certain server events or specific times.

•  I want to ensure that the boost is removed once the item is no longer in the player's inventory or when the event ends.

Could anyone guide me on how to modify the script to check for the item and apply these conditions effectively? Any examples or snippets would be greatly appreciated!
 

Edited by HenryCroslan

1 answer to this question

Recommended Posts

  • 0
Posted
12 hours ago, HenryCroslan said:

Hello rAthena Community! suika game

I've been inspired by a recent discussion on granting players extra HP if they possess a certain item. I'm looking to implement a similar feature but with a twist. Here's what I aim to achieve:

•  Players should receive a temporary HP boost when they have a specific item in their inventory.

•  This boost should only be active during certain server events or specific times.

•  I want to ensure that the boost is removed once the item is no longer in the player's inventory or when the event ends.

Could anyone guide me on how to modify the script to check for the item and apply these conditions effectively? Any examples or snippets would be greatly appreciated!
 

maybe you can try this 

put the iteam as rental or delete it when the event already end.

  • Upvote 1

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