equal
deleted
inserted
replaced
137 end |
137 end |
138 |
138 |
139 _G.onGameInit = function() |
139 _G.onGameInit = function() |
140 Seed = 1 |
140 Seed = 1 |
141 ClearGameFlags() |
141 ClearGameFlags() |
142 EnableGameFlags(gfDisableWind, gfMultiWeapon, gfOneClanMode, solid, artillery) |
142 local attackMode |
|
143 if (params.ammoType == amBee) then |
|
144 attackMode = gfInfAttack |
|
145 else |
|
146 attackMode = gfMultiWeapon |
|
147 end |
|
148 EnableGameFlags(gfDisableWind, attackMode, gfOneClanMode, solid, artillery) |
143 TurnTime = params.time |
149 TurnTime = params.time |
144 Map = params.map |
150 Map = params.map |
145 Theme = params.theme |
151 Theme = params.theme |
146 Goals = params.goalText |
152 Goals = params.goalText |
147 CaseFreq = 0 |
153 CaseFreq = 0 |