mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-22 13:40:25 +02:00
o added the lacking items of UB to files "the "Data\TableData\Items\Items.xml". o Necessary "Hand Cannon" were moved to the task Raul, to files H11_0_ExtraItems_xxx.xml. o The instruction Morrisa will be generated after destruction of Morrisa automatically. o All scripts lua were modified for UB git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1743 4f8fa57e-7814-0410-bad4-adc449f26b7c
21 lines
711 B
Lua
21 lines
711 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 ( newDIFFICULTY_LEVEL == DIF_LEVEL_EASY ) then
|
|
UB_SetNumberOfJa25BloodCatsInSector ( 10, 9, 3, 5 )
|
|
elseif ( newDIFFICULTY_LEVEL == DIF_LEVEL_MEDIUM ) then
|
|
UB_SetNumberOfJa25BloodCatsInSector ( 10, 9, 4, 5 )
|
|
elseif ( newDIFFICULTY_LEVEL == DIF_LEVEL_HARD ) then
|
|
UB_SetNumberOfJa25BloodCatsInSector ( 10, 9, 5, 5 )
|
|
elseif ( newDIFFICULTY_LEVEL == DIF_LEVEL_INSANE ) then
|
|
UB_SetNumberOfJa25BloodCatsInSector ( 10, 9, 5, 5 )
|
|
end
|
|
|
|
end |