- Joined
- Oct 28, 2015
- Messages
- 16
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I've look around, but I can't find an answer to this problem.
I'm trying to create a health potion that heals the player using the formula:
(150 * ((a.def + 150)/100.0)).to_i
I made a potion item like this:
Item Type: Normal
Consume: Yes
Scope: The User
Occasion: Always
Damage Type: HP Recover
Element: None
Formula: (150 * ((a.def + 150)/100.0)).to_i
Variance: 0
Critical: No
However, whenever my character drinks it, it doesn't restore any health.
Does anyone know what I'm doing wrong? Does HP Recover not actually do anything? Or do I need to make a State?
I'm hoping I don't need to make a state, because then I'd need to have a unique state for each potion (this potion is 150, but a better potion might be 250).
I'm trying to create a health potion that heals the player using the formula:
(150 * ((a.def + 150)/100.0)).to_i
I made a potion item like this:
Item Type: Normal
Consume: Yes
Scope: The User
Occasion: Always
Damage Type: HP Recover
Element: None
Formula: (150 * ((a.def + 150)/100.0)).to_i
Variance: 0
Critical: No
However, whenever my character drinks it, it doesn't restore any health.
Does anyone know what I'm doing wrong? Does HP Recover not actually do anything? Or do I need to make a State?
I'm hoping I don't need to make a state, because then I'd need to have a unique state for each potion (this potion is 150, but a better potion might be 250).

