From eb9dcbc60ff73c61a885044efd2a72cd4ba0880d Mon Sep 17 00:00:00 2001 From: danielmartin0 Date: Thu, 2 Jun 2022 18:06:38 +0100 Subject: [PATCH] wave frequency patch --- maps/pirates/ai.lua | 2 +- maps/pirates/commands.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/pirates/ai.lua b/maps/pirates/ai.lua index 7cf42319..c715f97b 100644 --- a/maps/pirates/ai.lua +++ b/maps/pirates/ai.lua @@ -129,7 +129,7 @@ end function Public.wave_size_rng() -- random variance in attack sizes local memory = Memory.get_crew_memory() - local wave_percentage_chance = Math.clamp(0, 35, 15 + 10 * memory.floating_pollution/1500) --trying this out + local wave_percentage_chance = Math.clamp(0, 36, 15 + 7 * memory.floating_pollution/1500) --trying this out local wave_size_multiplier = 1 local rng1 = Math.random(100) diff --git a/maps/pirates/commands.lua b/maps/pirates/commands.lua index 3d69ebe9..08fe3e16 100644 --- a/maps/pirates/commands.lua +++ b/maps/pirates/commands.lua @@ -402,7 +402,7 @@ function(cmd) local player = game.players[cmd.player_index] local memory = Memory.get_crew_memory() Roles.captain_tax(memory.playerindex_captain) - end + end --@TODO: else end) commands.add_command(