I am playtesting my game and on the level 1 it works fine for a while, then I hit a certain player level and the damage the player deals becomes incorrect. I switch to level 2 and the damage is what it should be, switch back to level 1 and the damage is now correct.
I have it setup that on level 1-1 on start of layout set playerDungeonDamage to playerStrength / 2
this is the same for level 2-1
players strength was 26 but it set the damage to 3 instead of 13. When I went to level 2-1 the damage showed 13, went back to level 1-1 and damage showed 13.
Any thoughts as to why this would happen?
before going to level 2-1 I ran the game in debug mode and the playerStrength variable showed 26 and playerDungeonDamage showed 3 before I even entered the level, while I was still on the main menu.
I didn't upload a capx because i don't want to bother anyone with debugging for me just looking for thoughts as to what might cause that to happen?