<Story Name="Story_SoulSeach">
<DisplayName>搜魂</DisplayName>
<Desc>[NAME]对这个弥留的修行者施展了搜魂大法,试图获得一些有用的信息。</Desc>
<Kind>None</Kind>
<GlobleOKResult><![CDATA[
local tnpc = story:GetBindNpc();
local rs = false;
if tnpc ~= nil then
if world:CheckRate(0.15) then
--获得秘闻
me:AddSecret(me:RandomInt(1, 23));
rs = true;
end
if rs == false and world:CheckRate(0.1) then
--获得秘籍
local ename = tnpc:GetRandomEsotericName();
if ename ~= nil then
meropEsoteric(ename);
rs = true;
end
end
if rs == false and world:CheckRate(0.05) then
--获得功法
local gname = tnpc:GetGongName();
if gname ~= nil then
me:UnLockGong(gname);
rs = true;
end
end
end
if rs == false then
me:AddMsg("一无所获");
end
]]>