Harvin Posted September 8, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.01 Content Count: 39 Reputation: 29 Joined: 06/08/23 Last Seen: Thursday at 01:41 PM Share Posted September 8, 2023 (edited) Deposit System Do your server has so many headgear? Usually after new headgear is released especially when the new one has better benefit, Previous Headgear used by Player is now useles right? This System is inspired on the ROM Adventure Book, Where Player can Deposit un-used Item, but Player will be still has benefited from it, instead lying around somewhere uselessly. Spoiler ########################################################################### # Deposit Database ########################################################################### # # Settings # ########################################################################### # - StorageId Storage Id. # Bound if storage shared by account or not. (Default: true) # Withdraw If item in this storage can be withdrawed after deposited. (Default: true) # WithdrawFee Price to withdraw any item from this storage. (Default: 0) # Items: List of possible items. # - Item Item name. # Amount Item amount. (Default: 1) # Refine Item refine. (Default: 0) # Withdraw If this item can be withdrawed after deposited. (Default: true) # WithdrawFee Price to withdraw this item from this storage. (Default: 0) # Script Script to execute when the item successfully deposited. (Default: null) ########################################################################### Header: Type: DEPOSIT_DB Version: 1 Body: - StorageId: 10 Withdraw: true Items: - Item: Poring_Card Script: | bonus bInt,100; - Item: Fabre_Card Amount: 3 Script: | bonus bStr,100; - StorageId: 11 Items: - Item: Sword Script: | bonus bAgi,100; - Item: Sword_ Refine: 7 Script: | bonus bDex,100; Video Deposit System.mp4 Edited September 8, 2023 by Harvin 2 2 1 Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted September 20, 2023 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 461 Reputation: 61 Joined: 08/28/12 Last Seen: Tuesday at 08:01 PM Share Posted September 20, 2023 Works this with HP bonus too and when, how you handled the problem, that the player has the current HP and not every time at the relog, the HP bonus is recalculated and therefore the player has to heal himself every time when logging in by the value he got as a bonus. Example: Player has 500 MaxHP and gets 500 bonus HP After logging in the player has 500/1000 HP. Quote Link to comment Share on other sites More sharing options...
Harvin Posted September 20, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.01 Content Count: 39 Reputation: 29 Joined: 06/08/23 Last Seen: Thursday at 01:41 PM Author Share Posted September 20, 2023 Sorry never stumped on that problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.