So I am doing a speed check for turn based combat. Here is the enemy and friendly DB.
Friendly: https://imgur.com/avRf1B3
Enemy: https://imgur.com/d1A1Tu9
Speed for enemies seems to be calculating correctly but the player doesn't.
https://imgur.com/keXWgTe
Yet when calculations are done for some reason the player calculates with very low speed, and always goes last.
https://imgur.com/AaIiiP8
You can see here the player calculates with 2 speed and enemy 1 goes first.
https://imgur.com/AaIiiP8
Now if the player did have 2 speed this calculation would be correct, but the player should have 10 speed. I don't understand why it is changing the speed.
The speed from the DB should be pulled directly from it.
https://imgur.com/oRfNoJR
Anyone have an idea what's going on here? I have been looking this over for a day and can't find it.
Friendly: https://imgur.com/avRf1B3
Enemy: https://imgur.com/d1A1Tu9
Speed for enemies seems to be calculating correctly but the player doesn't.
https://imgur.com/keXWgTe
Yet when calculations are done for some reason the player calculates with very low speed, and always goes last.
https://imgur.com/AaIiiP8
You can see here the player calculates with 2 speed and enemy 1 goes first.
https://imgur.com/AaIiiP8
Now if the player did have 2 speed this calculation would be correct, but the player should have 10 speed. I don't understand why it is changing the speed.
The speed from the DB should be pulled directly from it.
https://imgur.com/oRfNoJR
Anyone have an idea what's going on here? I have been looking this over for a day and can't find it.
Comment