Skip to content

Commit

Permalink
Allow only getting the bonus object once
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasya N committed Apr 1, 2024
1 parent 2266380 commit edf2f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion less_random/lua/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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%",
Expand Down

0 comments on commit edf2f0b

Please sign in to comment.