Commit 0452bbf6 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c62624125.lua

parent 9e9718ef
......@@ -16,7 +16,7 @@ function c62624125.initial_effect(c)
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EVENT_BE_MATERIAL)
e2:SetCode(EVENT_TO_GRAVE)
e2:SetCondition(c62624125.drcon)
e2:SetTarget(c62624125.drtg)
e2:SetOperation(c62624125.drop)
......@@ -31,8 +31,7 @@ function c62624125.spcon(e,c)
and Duel.IsExistingMatchingCard(c62624125.filter,c:GetControler(),LOCATION_MZONE,0,1,nil)
end
function c62624125.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r&(REASON_FUSION+REASON_SYNCHRO+REASON_LINK)~=0
and e:GetHandler():GetReasonCard():IsSetCard(0x6d0)
return r&(REASON_SYNCHRO+REASON_FUSION+REASON_LINK)~=0
end
function c62624125.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
......
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