mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-22 13:40:25 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1519 4f8fa57e-7814-0410-bad4-adc449f26b7c
21 lines
683 B
Lua
21 lines
683 B
Lua
-- SetNumberOfJa25BloodCatsInSector ( SectorX, SectorY, bNumBloodCats, bNumBloodCatPlacements )
|
|
|
|
local DIF_LEVEL_EASY = 1
|
|
local DIF_LEVEL_MEDIUM = 2
|
|
local DIF_LEVEL_HARD = 3
|
|
local DIF_LEVEL_INSANE = 4
|
|
|
|
function InitStrategicLayer ()
|
|
|
|
-- I10 BloodCats
|
|
if ( difficultyLevel == DIF_LEVEL_EASY ) then
|
|
SetNumberOfJa25BloodCatsInSector ( 10, 9, 3, 5 )
|
|
elseif ( difficultyLevel == DIF_LEVEL_MEDIUM ) then
|
|
SetNumberOfJa25BloodCatsInSector ( 10, 9, 4, 5 )
|
|
elseif ( difficultyLevel == DIF_LEVEL_HARD ) then
|
|
SetNumberOfJa25BloodCatsInSector ( 10, 9, 5, 5 )
|
|
elseif ( difficultyLevel == DIF_LEVEL_INSANE ) then
|
|
SetNumberOfJa25BloodCatsInSector ( 10, 9, 5, 5 )
|
|
end
|
|
|
|
end |