-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
CommonGood First IssueQuite simple task, you should not enounter any difficulties if you know spongeapi alreadyQuite simple task, you should not enounter any difficulties if you know spongeapi already
Milestone
Description
Feature which allows players to buy skill for ingame currency
-
In the API create
EconomyService#hasFunds(IActiveCharacter, BigInteger)
EconomyService#widthDraw(IActiveCharacter, BigInteger) -
Implementation in the Sponge module - just a wrapper around sponge EconomyService, if theres no economy plugin installed just return false on hasFunds.
-
Refactor skillnode configuration
- SkillPurchaseCostProcessors: [{
class: XXX
...
}, {...} ]
- SkillPurchaseCostProcessors: [{
Concept similar as class level curve definition.
Options:
- Purchase skill for skillpoint
- Purchase skill for ingame currency
- Purchase skill for Item
- Processor which allows script execution to run custom validations.
The config option shall be a list, so it will be possible to combine skillpoints and ingame currency etc.
Metadata
Metadata
Assignees
Labels
CommonGood First IssueQuite simple task, you should not enounter any difficulties if you know spongeapi alreadyQuite simple task, you should not enounter any difficulties if you know spongeapi already