Skip to content

If blocksToErode is set to some high positive value, it still allows 2 bastions to share damage #46

@GavJenks

Description

@GavJenks

Presumably there's some sort of indexing error, using a 1 instead of a 0 or something. Or perhaps the usage of ++i instead of i++ is to blame? Not sure.

But yeah, for example, if you set blocksToErode to 10, and you put 5 bastions all overlapping each other, then it will take 2x the normal number of block placements to break them all. 1 bastion takes a normal intended amount of time to break, 2 bastions take 2x as long to break, 3 or more also take 2x as long to break.

So it's doing one iteration on the random loop "for free" for some reason.

Might or might not be the same never-actually-fixed-only-avoided issue as issue #16 in the civcraft repository here:
Civcraft#16

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions