ys = ys or {} slot0 = ys slot0.Battle.BattleBuffLink = class("BattleBuffLink", slot0.Battle.BattleBuffEffect) slot0.Battle.BattleBuffLink.__name = "BattleBuffLink" function slot0.Battle.BattleBuffLink.Ctor(slot0, slot1) uv0.Battle.BattleBuffLink.super.Ctor(slot0, slot1) end function slot0.Battle.BattleBuffLink.SetArgs(slot0, slot1, slot2) slot0._target = slot0._tempData.arg_list.target slot0._buff_id = slot0._tempData.arg_list.buff_id end function slot0.Battle.BattleBuffLink.Trigger(slot0, slot1, slot2, slot3, slot4) if slot0:getTargetList(slot2, slot0._target, slot0._tempData.arg_list) then for slot9, slot10 in ipairs(slot5) do if slot10:GetBuff(slot0._buff_id) then slot11:onTrigger(slot1, slot10, slot4) end end end end