Files
gamedir/Data-UB/Scripts/InitStrategicLayer.lua
T
Wanne 2b7d9a05a7 - UB Improvements / Cleanup (by Jazz)
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
2013-08-29 11:56:11 +00:00

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