Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raidcommand changes #10351

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Raidcommand changes #10351

merged 3 commits into from
Oct 22, 2024

Conversation

someaddons
Copy link
Contributor

Closes #
Closes #

Changes proposed in this pull request

  • Make chased targets turn aware of their pursuer
  • Raid command now ignores restrictions, like officer online
  • Raiders now split into slightly bigger grps
  • Fix barbarians raiders not able to spawn when chosen via command

Testing

  • [ x] Yes I tested this before submitting it.
  • I also did a multiplayer test.

Review please

Raid command now ignores restrictions, like officer online
Raiders now split into slightly bigger grps
Fix barbarians raiders not able to spawn when chosen via command
@@ -857,7 +861,7 @@ private boolean raidThisNight(final Level world, final IColony colony)
public BlockPos getRandomBuilding()
{
buildingPosUsage++;
if (buildingPosUsage > 6 || lastBuilding == null)
if (buildingPosUsage > getLastRaid().raiderAmount / 3 || lastBuilding == null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Math.max(/4, 6) ?

@Raycoms Raycoms merged commit 8f54268 into version/main Oct 22, 2024
5 checks passed
@Raycoms Raycoms deleted the raidcommand branch October 22, 2024 11:30
Raycoms added a commit that referenced this pull request Nov 12, 2024
Make chased targets turn aware of their pursuer
Raid command now ignores restrictions, like officer online
Raiders now split into slightly bigger grps
Fix barbarians raiders not able to spawn when chosen via command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants