Skip to content

Commit

Permalink
Dark Forecast: fix boss spawns not occurring
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Mar 14, 2019
1 parent 65a737b commit c9e7da8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/multiplayer/scenarios/2p_Dark_Forecast.lua
Expand Up @@ -314,6 +314,8 @@ on_event("new turn", function()
canrecruit=true,
message= _ "The last and most powerful of these creatures are almost upon us. I feel that if we can finish them off in time, we shall be victorious.",
}

wml.variables["next_final_spawn"] = wesnoth.current.turn + wesnoth.random(1,2)
end)

-- after the first final spawn, spawn a new final spawn every 1 or 2 turns.
Expand Down

0 comments on commit c9e7da8

Please sign in to comment.