mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 16:15:40 +00:00
Merge branch 'master' of github.com:wesnoth/wesnoth
This commit is contained in:
commit
a0954377ea
@ -135,6 +135,8 @@ Version 1.13.0-dev:
|
||||
* Enable ilua "strict mode" by default. This safety feature helps to catch errors caused by mistyped
|
||||
variable names, and improves the behavior of the lua interpreter console. See 1.13.0 RELEASE NOTES
|
||||
for more details.
|
||||
* Add multiplayer client scripting (join lobby, chat, host games, save games, reload games) and mp
|
||||
unit tests based on this
|
||||
* Replays:
|
||||
* Added a button that allows playing a single move in replay mode.
|
||||
* Sound:
|
||||
|
@ -3,11 +3,12 @@
|
||||
# We use the unsynced rng, lua.random, to achieve this.
|
||||
# Basically we keep giving side 1 a random amount of gold and recruiting as
|
||||
# many woses as possible, killing them immediately to make space. We do this
|
||||
# for 30 turns. In the replay we will actually have a random amount of gold
|
||||
# for 60 turns. In the replay we will actually have a random amount of gold
|
||||
# each time, so if we have bad luck one turn we won't have enough to afford
|
||||
# that many woses.
|
||||
# For each turn its about 50-50 not to go out of sync, so the chance not to
|
||||
# go out of sync should be roughly less than one in a billion.
|
||||
# go out of sync (for true randomness) would be ~ 2^{-60}.
|
||||
# (However none of our generators use more than 32 bits per seed.)
|
||||
|
||||
#define TEST_BREAK_REPLAY ID GET_RND_NUM
|
||||
{GENERIC_UNIT_TEST {ID} (
|
||||
@ -54,7 +55,7 @@
|
||||
[/end_turn]
|
||||
[/event]
|
||||
[event]
|
||||
name = side 2 turn 30
|
||||
name = side 2 turn 60
|
||||
{RETURN ([true][/true])}
|
||||
[/event]
|
||||
[event]
|
||||
|
Loading…
x
Reference in New Issue
Block a user