mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.9.0534
max out zombie count on spawn chance allow variable increase to antagonist array
This commit is contained in:
parent
ecd09836e0
commit
fa2185a27d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,8 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf
|
||||
*/
|
||||
private ["_index"];
|
||||
_index = EPOCH_spawnIndex find _this;
|
||||
params ["_spawnName", ["_decrease",1]];
|
||||
_index = EPOCH_spawnIndex find _spawnName;
|
||||
if (_index != -1) then{
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) - 1) max 0];
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) - _decrease) max 0];
|
||||
};
|
||||
|
@ -13,7 +13,8 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf
|
||||
*/
|
||||
private ["_index"];
|
||||
_index = EPOCH_spawnIndex find _this;
|
||||
params ["_spawnName", ["_increase",1]];
|
||||
_index = EPOCH_spawnIndex find _spawnName;
|
||||
if (_index != -1) then{
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) + 1) min (EPOCH_spawnLimits select _index)];
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) + _increase) min (EPOCH_spawnLimits select _index)];
|
||||
};
|
||||
|
@ -4,7 +4,7 @@ if (random EPOCH_droneRndChance < _spawnChance) then {
|
||||
};
|
||||
if (EPOCH_mod_Ryanzombies_Enabled) then {
|
||||
if (random EPOCH_zombieRndChance < _spawnChance) then {
|
||||
"EPOCH_RyanZombie_1" call EPOCH_unitSpawnIncrease;
|
||||
["EPOCH_RyanZombie_1",12] call EPOCH_unitSpawnIncrease;
|
||||
};
|
||||
};
|
||||
if (random EPOCH_sapperRndChance < _spawnChance) then {
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
Loading…
Reference in New Issue
Block a user