Commit 450f8e01 authored by Nemo Ma's avatar Nemo Ma

banlist

parent 13820db2
......@@ -748,6 +748,15 @@
30002065 0
30010000 0
30012000 0
#220410
33330512 0
33701317 0
40009259 0
14050005 1
22070090 1
9910717 2
35399009 2
67210000 2
#220327
12057601 0
12057606 0
......@@ -1755,7 +1764,6 @@
40009398 0
65010014 1
65010546 1
22070090 2
#210328
82224044 0
31400017 0
......@@ -3163,7 +3171,6 @@
9950289 1
9950285 1
25000049 0
33330512 1
9950038 1
9951101 1
9951328 1
......
No preview for this file type
--闪刀姬-罗泽
--Script by Justfish
function c14010232.initial_effect(c)
--SpecialSummon from hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14010232,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,14010232+100)
e1:SetCondition(c14010232.spcon1)
e1:SetTarget(c14010232.sptg1)
e1:SetOperation(c14010232.spop1)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
--SpecialSummon from gy
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(14010232,1))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,14010232+200)
e3:SetCondition(c14010232.spcon2)
e3:SetTarget(c14010232.sptg2)
e3:SetOperation(c14010232.spop2)
c:RegisterEffect(e3)
end
function c14010232.cfilter1(c)
return c:IsFaceup() and c:IsSetCard(0x1115)
end
function c14010232.spcon1(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c14010232.cfilter1,1,nil)
end
function c14010232.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c14010232.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
function c14010232.cfilter2(c,tp,rp)
return c:GetPreviousSequence()>4 and c:GetPreviousControler()==1-tp and (c:IsReason(REASON_BATTLE) or (rp==tp and c:IsReason(REASON_EFFECT)))
end
function c14010232.spcon2(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c14010232.cfilter2,1,nil,tp,rp)
end
function c14010232.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c14010232.spop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil)
if g:GetCount()>0 then
Duel.HintSelection(g)
local tc=g:GetFirst()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2)
end
end
end
end
\ No newline at end of file
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