You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description='Make all future waves come 1 turn later',
52
+
T.filter_location{
53
+
x=1,
54
+
y=1
55
+
},
56
+
T.command{
57
+
T.lua{
58
+
code='V.ORM_turn_offset = V.ORM_turn_offset + 1'
59
+
},
60
+
T.lua{
61
+
code='wesnoth.message("Use wave delaying at your own risk, and note that if you delay enough times (such as right after wave spawned), you can have previously spawned wave spawn again - effectively endless game mode. Current delay: "..V.ORM_turn_offset.." turn(s)")'
62
+
}
63
+
}
64
+
}
45
65
end
46
66
47
67
functionORM.event.side_1_turn_refresh()
48
68
ORM.fun.apply_hpmultiplier()
49
69
-- ORM.fun.apply_rush_mod() -- !!!! OOS, so moved to WML
ifV.ORM_wave_choice_setting=="core_predefined" and (difficulty=="normal" ordifficulty=="hardcore") andORM.unit_bonuses["t"..wesnoth.current.turn]["predefined"] ~=nilthendifficulty="predefined" end
ifV.ORM_wave_choice_setting=="core_predefined" and (difficulty=="normal" ordifficulty=="hardcore") andORM.unit_bonuses["t"..ORM.fun.get_effective_turn_number()]["predefined"] ~=nilthendifficulty="predefined" end
0 commit comments