tmenemy06_2_utask_32.lua

来自「two legendary musicians are equivalent t」· LUA 代码 · 共 26 行

LUA
26
字号
--description: 唐门30级任务 青城山白云洞怪物战斗死亡
--author: yuanlan	
--date: 2003/3/11



function tmenemy06_2_UTask_32()

Task0003 = GetTaskTemp(3)

if (Task0003 == 1) then	
	if ( HaveItem(98) == 0) then					--没有钥匙一
		i = random(0,2)							--概率为33%
		if (i == 0) then 
			AddEventItem(98) 
			Msg2Player("得到一把钥匙。")
		end;			
	end;	

end;
	
end;



⌨️ 快捷键说明

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