admin / 2010.6.28 / 0:0 pm

持国天王殿第三阶段第四阶段debuff提醒宏 0+

作者:undancer

/script
local ban = {'十六夜口关夜'}
local list = {}
list['天绝华散曲·白露']='药瓶'
list['天绝华散曲·黑洞']='宝莲灯'
list['天绝华散曲·朱云']='白鹤'
list['天绝华散曲·碧海']='小船'
list['天国镇魂曲·普渡八音']='琴'
list['天国镇魂曲·破静天门']='鼓'
list['天国镇魂曲·欲吐地葬']='钟'
list['天国镇魂曲·镇魂长曲']='铃'
local tMember = GetClientPlayer().GetAroundPlayerID()
table.insert(tMember,GetClientPlayer().dwID)
for _,dwID in pairs(tMember) do
    local player = GetPlayer(dwID)
    if not ban[player.szName] then
        local tBuff = player.GetBuffList()
        for _,buff in pairs(tBuff) do
            local name = Table_GetBuffName(buff.dwID,buff.nLevel)
            --OutputMessage('MSG_SYS',name..'\n')
            if list[name] then
                GetClientPlayer().Talk(PLAYER_TALK_CHANNEL.WHISPER,player.szName,{{type='text',text=FormatString('你中了"",快去""',name,list[name])}})
            end
        end
    end
end

本文有 0 篇评论

发表你的意见