Adding A Custom Potion Reward - TheTurkeyDev/ChanceCubes GitHub Wiki
Before you add a potion reward, you need to have the basic reward setup. If you have not done that already, you need to head here to set up the base for the reward.
Fields:
Field Name | Type | Default | Field Description |
---|---|---|---|
potionid | String | speed | The ID/Name of the potion to be dropped when the Chance Cube is opened |
duration | Integer | 1 | The Duration that the potion should last for in seconds |
amplifier | Integer | 0 | The amplifier/ strength of the potion. 1 less than in game number amount, so 0= amplifier I, 1 = amplifier II, i.e Speed II |
delay | Integer | 0 | The delay for the potion to wait after the Chance Cube is broken before being spawned |
Example:
{
"Potion_Reward":
{
"chance": 0,
"Potion":
[
{"potionid":"speed", "duration":"%%RND(1,5)%%", "amplifier":1}
]
}
}
Config Tutorial:
COMING SOON!