Hello, I need help with a formula of mine. I don't why it's not working as intended, here's a screenshot of the code:
It isn't fully completed yet, but basically the event should do this:
(fixed bleeding variable /100)*((luck of character*4) - (luck of enemy * 2))
after that, it should subtract a random number from 1 to 100 to generate some sort of dice roll.
The problem is, no matter what values I choose, even if the luck of my character is at the maximum value. I do obtain always a negative number in return.
Are there ways of debugging, to see the course of the variables? Unfortunelately it's not possible to see it while in battle.
Maybe someone sees the flaw here. I have no possible idea...
It isn't fully completed yet, but basically the event should do this:
(fixed bleeding variable /100)*((luck of character*4) - (luck of enemy * 2))
after that, it should subtract a random number from 1 to 100 to generate some sort of dice roll.
The problem is, no matter what values I choose, even if the luck of my character is at the maximum value. I do obtain always a negative number in return.
Are there ways of debugging, to see the course of the variables? Unfortunelately it's not possible to see it while in battle.
Maybe someone sees the flaw here. I have no possible idea...