twenemy03_utask_32.lua

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

LUA
18
字号
--description: 神农架 燕子洞敌人30级任务战斗死亡
--author: yuanlan	
--date: 2003/4/25



function twenemy03_UTask_32()

if ( HaveItem("天王令") == 0) then	
	i = random(0,1)							--概率为50%
	if (i == 0) then 
		AddEventItem("天王令")
		Msg2Player("打败强盗,夺回天王令。")
		SetTask(3, 35)
	end
end

end;

⌨️ 快捷键说明

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