twenemy06_2_utask_64.lua

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

LUA
18
字号
--description: 青螺岛山洞敌人出师任务战斗死亡
--author: yuanlan	
--date: 2003/4/28



function twenemy06_2_UTask_64()	

if ( HaveItem("天王遗书") == 0) then	
	i = random(0,2)							--概率为30%
	if (i == 0) then 
		AddEventItem("天王遗书")
		Msg2Player("从金人杀手处夺回《天王遗书》。")
		SetTask(3, 66)
	end
end;	

end;

⌨️ 快捷键说明

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