xmaseventslayer.lua

来自「天之炼狱1服务器端源文件游戏服务端不完整」· LUA 代码 · 共 59 行

LUA
59
字号
------------------------------------------------------------------------------------ xmasEventSlayer.lua------------------------------------------------------------------------------------ 捞芭 荤侩窍扁 傈俊 xmasEventCommon.lua甫 load秦具 茄促.-- Input  : SUM-- Output : ItemClass, ItemType, OptionType---------------------------------------------------------------------------------- select ItemClassItemClass 	= selectOne( ItemClassSlayerSet )-- select ItemType, OptionType by SUMItemType 	= 0OptionType 	= 0if SUM <= 80 then	ItemClass 	= selectOne( ItemClassSlayerSet80 )	-- 坷配官捞捞搁.. 	if ItemClass==ItemClassInfo["ITEM_CLASS_KEY"] then		ItemType = 2	else		ItemType = 4		OptionType = selectOne( OptionInfoSet.Sum140 )	endelseif SUM <= 140 then	ItemType = 5	OptionType = selectOne( OptionInfoSet.Sum140 )elseif SUM <= 170 then	ItemType = 5	OptionType = selectOne( OptionInfoSet.Sum200 )elseif SUM <= 200 then	ItemType = 6	OptionType = selectOne( OptionInfoSet.Sum200 )elseif SUM <= 225 then	ItemType = 6	OptionType = selectOne( OptionInfoSet.Sum250 )elseif SUM <= 250 then	ItemType = 7	OptionType = selectOne( OptionInfoSet.Sum250 )elseif SUM <= 275 then	ItemType = 7	OptionType = selectOne( OptionInfoSet.Sum300 )else -- SUM < 300 then	ItemType = 8	OptionType = selectOne( OptionInfoSet.Sum300 )end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?