Fixed broken bandits code
This commit is contained in:
parent
8651dabfe9
commit
087a2822d1
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
Version 1.13.5+dev:
|
||||
* Campaigns:
|
||||
* Eastern Invasion:
|
||||
* Fixed broken village encounters.
|
||||
* Music and sound effects:
|
||||
* Added a preference to pause the music when the game loses focus.
|
||||
* Now the music fades out between scenarios.
|
||||
|
|
|
@ -38,7 +38,7 @@ local function bandits_found(x,y)
|
|||
local bandit_villages = helper.get_variable_array("bandit_villages")
|
||||
local boss_found = wesnoth.get_variable("boss_found")
|
||||
local visited = wesnoth.get_variable("villages_visited")
|
||||
local rand1 = helper.rand(3,4)
|
||||
local rand1 = helper.rand("3,4")
|
||||
local rand2 = helper.rand("2.."..rand1)
|
||||
|
||||
for i=1,rand2 do
|
||||
|
|
Loading…
Add table
Reference in a new issue