10-02-2015, 08:53 PM
I think I found another bug (or don't know if I messed up something with my configuration...). When adding different values to the STATES_EFFECTS (for example, DELAY_EFFECT) it doesn't do anything on map. E.g.:
I found an Hunger/Thirst system (as you already know^^) and I set that when Hunger reaches a certain level, the appropriate status ("Hungry") is inflicted. This status should delay the player's movements, so I added its id on the DELAY_EFFECT array. But when the status is inflicted, nothing changes: the player can still move at normal speed, even if it can't dash or sneak. Furthermore, if he's switched with a companion, and the companion dash/sneak is true, he can do that as if it doesn't have the status at all. Other effects (such as stat reduction), as well as the default Delay status work, though
I found an Hunger/Thirst system (as you already know^^) and I set that when Hunger reaches a certain level, the appropriate status ("Hungry") is inflicted. This status should delay the player's movements, so I added its id on the DELAY_EFFECT array. But when the status is inflicted, nothing changes: the player can still move at normal speed, even if it can't dash or sneak. Furthermore, if he's switched with a companion, and the companion dash/sneak is true, he can do that as if it doesn't have the status at all. Other effects (such as stat reduction), as well as the default Delay status work, though
"Fairies are bad. I had to kill an innocent and fight my own sister to save the world, and they looked at me disgusted and left me dying. Two years later, I was revived and had to sacrifice another innocent with a Dark Ritual to save the world again. That's why I became a Succubus. And I don't regret it"
- The Khaleesi, Queen of Apocalypse and of the Succubi
- The Khaleesi, Queen of Apocalypse and of the Succubi