trenemy05_2_utask_52.lua

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

LUA
21
字号
--description: 汴京府铁塔二层敌人 天忍教50级任务战斗死亡
--author: yuanlan	
--date: 2003/5/19



function trenemy05_2_UTask_52()

UTask_trsub02 = GetTask(22);

if ( UTask_trsub02 == 0) then	
	if ( HaveItem("铁塔钥匙二") == 0) then	
		i = random(0,1)							--概率为50%
		if (i == 0) then 
			AddEventItem("铁塔钥匙二")
			Msg2Player("得到第二把钥匙。")
		end
	end		
end

end;

⌨️ 快捷键说明

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