Commit 42df6578 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 4143746a
......@@ -22,7 +22,7 @@ function s.fdcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST)
end
function s.cpfilter(c)
return c:IsFaceup() and c:IsCanTurnSet()
return c:IsFaceup()
end
function s.fdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.cpfilter(chkc) end
......@@ -40,70 +40,72 @@ function s.fdop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_UNRELEASABLE_SUM)
e1:SetRange(LOCATION_MZONE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(1)
tc:RegisterEffect(e1,true)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UNRELEASABLE_NONSUM)
tc:RegisterEffect(e2,true)
tc:RegisterEffect(e2)
local e3=e1:Clone()
e3:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e3:SetValue(s.fuslimit)
tc:RegisterEffect(e3,true)
tc:RegisterEffect(e3)
local e4=e1:Clone()
e4:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
tc:RegisterEffect(e4,true)
tc:RegisterEffect(e4)
local e5=e1:Clone()
e5:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL)
tc:RegisterEffect(e5,true)
tc:RegisterEffect(e5)
local e6=e1:Clone()
e6:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
tc:RegisterEffect(e6,true)
tc:RegisterEffect(e6)
local e7=e1:Clone()
e7:SetCode(EFFECT_CANNOT_CHANGE_POSITION)
tc:RegisterEffect(e7,true)
tc:RegisterEffect(e7)
local e8=e1:Clone()
e8:SetCode(EFFECT_CANNOT_TO_DECK)
tc:RegisterEffect(e8,true)
tc:RegisterEffect(e8)
local e9=e1:Clone()
e9:SetCode(EFFECT_CANNOT_TO_HAND)
tc:RegisterEffect(e9,true)
tc:RegisterEffect(e9)
local e10=e1:Clone()
e10:SetCode(EFFECT_IMMUNE_EFFECT)
e10:SetLabelObject(c)
e10:SetValue(s.efilter)
tc:RegisterEffect(e10,true)
local e11=Effect.CreateEffect(c)
tc:RegisterEffect(e10)
local e11=e1:Clone()
e11:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
c:RegisterEffect(e11,true)
local e12=Effect.CreateEffect(c)
tc:RegisterEffect(e11)
local e12=e1:Clone()
e12:SetCode(EFFECT_CANNOT_TRIGGER)
c:RegisterEffect(e12,true)
local e13=Effect.CreateEffect(c)
tc:RegisterEffect(e12)
local e13=e1:Clone()
e13:SetCode(EFFECT_DISABLE)
tc:RegisterEffect(e13,true)
local e14=Effect.CreateEffect(c)
tc:RegisterEffect(e13)
local e14=e1:Clone()
e14:SetCode(EFFECT_DISABLE_EFFECT)
tc:RegisterEffect(e14,true)
tc:RegisterEffect(e14)
local e15=e1:Clone()
e15:SetCode(EFFECT_IGNORE_BATTLE_TARGET)
tc:RegisterEffect(e15,true)
tc:RegisterEffect(e15)
local e16=Effect.CreateEffect(c)
e16:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e16:SetCode(EVENT_LEAVE_FIELD)
e16:SetOperation(s.lrm)
tc:RegisterEffect(e16,true)
tc:RegisterEffect(e16)
end
end
function s.lrm(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.Remove(c,POS_FACEDOWN,REASON_EFFECT)
e:Reset()
end
function s.fuslimit(e,c,sumtype)
return sumtype==SUMMON_TYPE_FUSION
end
function s.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
return te:GetOwner()~=e:GetHandler() and te:GetOwner()~=e:GetLabelObject()
end
function s.desrp(c)
local e1=Effect.CreateEffect(c)
......
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