Skip to content

Barbarian galleys spawn position #860

@stavrosfa

Description

@stavrosfa

Barbarian sea units (Galleys) spawn on the same tile as the camp

// Give costal camps a chance to spawn a boat.

We should be spawing them on a sea tile instead, that is also not a lake and that is not already occupied by another civ's unit.

If you are unsure as to how to get that sea tile, you can use methods like

public Tile FindInRing(int rank, Func<Tile, bool> predicate, bool clockwise = true) {

or

public List<Tile> GetTilesWithinRankDistance(int rank) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions