Code seems to be overridden

For some reason, whenever it reaches 100%, instead of going to WorkAnger on 3, it just keeps counting above 100, like it completely ignores WorkerRightDown which turns WorkAnger = 2 to 3

1 Like

Basicly, I made a monoply workers game where stikechancer rises if WorkAnger is = 2, but the problem is that whenever StrikeChancer gets to 100, it keeps going rather than changing the popup to what happens when we’re at WorkAnger = 3

Are you absolutely sure work anger is two when it reached 100?

It should be a problem with refreshing the function and making it larger than and not equal

Wait i just realized, it goes straight into 80 percent, then since it is else if it will not go into 100 percent

1 Like

yes! the >80 is overridding the code! Thanks

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.