Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187

Bug #763882

closed

Global warming / Nuclear winter can be occurred at 0 accumulated value

Added by Akechi . over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Global warming / Nuclear winter can be occurred at 0 accumulated value.
e.g. 100x100 map's Global warming threshold(warminglevel) is (10000 + 499) / 500 = 20,
so 20 tiles of Pollution is safe. (clicked info panel says: "Global warming chance: 0% (+0%/turn)")
but in fact, there are 1 / 500 chance to occur Global warming.
if there are 19 tiles of Pollution, info panel says same as above, but there are no chance to occur Global warming.

From http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues (10):

server\srv_main.c
update_environmental_upset
if (fc_rand((map_num_tiles() + 19) / 20) <= *accum) {


Files


Related issues

Blocks Freeciv - Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issuesNew

Actions
Actions #2

Updated by Anonymous over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Anonymous
Actions #3

Updated by Anonymous over 4 years ago

  • Status changed from Assigned to Resolved
Actions #4

Updated by Anonymous over 4 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Jacob Nevins over 4 years ago

  • Blocks Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues added

Also available in: Atom PDF