Commit cc5a347a authored by mercury233's avatar mercury233 Committed by GitHub

fix 一惜二跳 (#1196)

parent 251126fb
...@@ -81,14 +81,11 @@ end ...@@ -81,14 +81,11 @@ end
function c6203182.ctcon(e,tp,eg,ep,ev,re,r,rp) function c6203182.ctcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local ec=c:GetPreviousEquipTarget() local ec=c:GetPreviousEquipTarget()
if not ec then return false end return ec and ec:GetReasonCard() and c:IsReason(REASON_LOST_TARGET) and ec:IsReason(REASON_MATERIAL)
local rc=ec:GetReasonCard()
return rc and c:IsReason(REASON_LOST_TARGET) and ec:IsReason(REASON_MATERIAL)
and (ec:IsReason(REASON_FUSION) or ec:IsReason(REASON_SYNCHRO) or ec:IsReason(REASON_XYZ) or ec:IsReason(REASON_LINK)) and (ec:IsReason(REASON_FUSION) or ec:IsReason(REASON_SYNCHRO) or ec:IsReason(REASON_XYZ) or ec:IsReason(REASON_LINK))
and (rc:IsSummonType(SUMMON_TYPE_FUSION) or rc:IsSummonType(SUMMON_TYPE_SYNCHRO) or rc:IsSummonType(SUMMON_TYPE_XYZ) or rc:IsSummonType(SUMMON_TYPE_LINK))
end end
function c6203182.cttg(e,tp,eg,ep,ev,re,r,rp,chk) function c6203182.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
local ec=c:GetPreviousEquipTarget() local ec=e:GetHandler():GetPreviousEquipTarget()
local rc=ec:GetReasonCard() local rc=ec:GetReasonCard()
if chk==0 then return rc:IsControlerCanBeChanged() end if chk==0 then return rc:IsControlerCanBeChanged() end
rc:CreateEffectRelation(e) rc:CreateEffectRelation(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment