--添加Buff触发
function AddBuffFunc_0(actor, buffId, nTime)
local RaceId = actor:getRace()--种族ID
if RaceId == 0 then
actor:sendMsg(2,"添加Buff触发["..tostring(buffId).."]作用生效"..tostring(nTime).."秒", -1, -1)
end
if RaceId == 66 then
actor:sendMsg(2,"添加Buff触发["..tostring(buffId).."]作用生效"..tostring(nTime).."秒", -1, -1)
end
end
问题:英雄BUFF为什么触发时,不生效没反应?
|