Closed Tipaa closed 12 years ago
won't this break MP? (can somebody test?)
It shouldn't do - TitleMenu.difficulty is what most other things use - Level, GameMode, ShopItem - all it does is remove a random call and increase the times to be easier on lower difficulties.
i meant client side, since the host defines difficulty.. or did i miss the code that when you join that value is set?
I would also say to use ordinal() only as a last resort. For this, you can just add a "coin life" modifier or number to the enum of difficulties.
I have added coin lifespan to the enum.
TitleMenu.difficulty is set in Network.java line 142: TitleMenu.difficulty = DifficultyInformation.getByInt(sgMessage.difficulty);
Pushing now.
ok, my bad :) uhm, anyone else a comment? or can it be merged? :)
As per #569
Coins now have a less random life that is affected by difficulty.