Closed FormularSumo closed 3 years ago
Actually I've just found out that characters can still go into negative health. Movement is entirely fixed and fixing that mostly stopped negative health events happening but not always.
Now it's fixed. Problem was card number wasn't being worked out until cards had moved all the way forward (so first column was in melee position), meaning occasionally when a card tried to delete itself by setting P1/2 deck of it's position to nil it didn't delete itself but tried to delete a non-existant card where it was previously located.
Now number is worked out while cards are moving into position using a different formula (adding math.ceil6-timer) on the end)
Uncommenting this code in gamestate leads to the problems happening