[Freeciv-tickets] [freeciv] #48306: citizens_convert() not weighting nationalities by the number of citizens

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Jun 27 18:03:35 JST 2023


#48306: citizens_convert() not weighting nationalities by the number of citizens

  Open Date: 2023-06-27 12:03
Last Update: 2023-06-27 12:03

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48306
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48306

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-27 12:03 Updated by: cazfi
 * New Ticket "citizens_convert() not weighting nationalities by the number of citizens" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: Server
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

At least surprisingly, if not erroneously, citizens_convert() converts citizen of a random nationality, not random citizen. The difference this makes is that all nationalities get the same weight, regardless how many citizens there are. If there's 1 citizen on nationality A and 5 citizens of nationality B, the citizen of A has 50% chance of getting converted and each citizen of B has 10% chance of getting converted.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48306
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48306



More information about the Freeciv-tickets mailing list
Back to archive index