刺杀同时打到近身和刺杀位目标时,先后顺序问题
--受技能攻击时回调
function on_MagAttackTarge(TagActor, Actor, MagicID)
local actorname = Actor:getCharName()
local TagActorName = TagActor:getCharName()
local raceid = Actor:getRace()
if MagicID == 12 then
print("["..actorname.."]被["..TagActorName.."]使用技能ID["..tostring(MagicID).."]--[受技能攻击时回调]")
end
end
刺杀位目标先回调
BUG重现方式:
刺杀同时打到近身和刺杀位目标时,先后顺序问题
--受技能攻击时回调
function on_MagAttackTarge(TagActor, Actor, MagicID)
local actorname = Actor:getCharName()
local TagActorName = TagActor:getCharName()
local raceid = Actor:getRace()
if MagicID == 12 then
print("["..actorname.."]被["..TagActorName.."]使用技能ID["..tostring(MagicID).."]--[受技能攻击时回调]")
end
end
刺杀位目标先回调