From edf2f0bab69d2ae953c61a5ddd23a4814361ec9e Mon Sep 17 00:00:00 2001 From: Vasya N Date: Mon, 1 Apr 2024 22:50:26 +0200 Subject: [PATCH] Allow only getting the bonus object once --- less_random/lua/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less_random/lua/main.lua b/less_random/lua/main.lua index e409608..676f0a7 100644 --- a/less_random/lua/main.lua +++ b/less_random/lua/main.lua @@ -29,7 +29,7 @@ local function add_object(unit) wesnoth.wml_actions.object { T.filter { id = unit.id }, id = "lessrandom", - take_only_once = false, + take_only_once = true, T.effect { apply_to = "hitpoints", increase_total = (wml.variables.lessrandom_multiplier - 1) .. "00%",