Commit 2b231c2f authored by Nemo Ma's avatar Nemo Ma

fix

parent f41221fc
......@@ -4,10 +4,10 @@ function c13131322.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(13131322,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE)
e1:SetCountLimit(1,7540108)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,13131322)
e1:SetCondition(c13131322.chcon)
e1:SetTarget(c13131322.chtg)
e1:SetOperation(c13131322.chop)
......@@ -19,14 +19,14 @@ function c13131322.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetCountLimit(1,1540108)
e3:SetCountLimit(1,23131322)
e3:SetCondition(c13131322.thcon)
e3:SetTarget(c13131322.thtg)
e3:SetOperation(c13131322.thop)
c:RegisterEffect(e3)
end
function c13131322.chcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsActiveType(TYPE_TRAP)
return rp==1-tp and re:IsActiveType(TYPE_TRAP) and re:IsHasType(EFFECT_TYPE_ACTIVATE)
end
function c13131322.spfil(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x63)
......
......@@ -132,15 +132,19 @@ function c22348036.sprop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
function c22348036.decon1(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
return not Duel.IsPlayerAffectedByEffect(tp,22348037) and not Duel.IsPlayerAffectedByEffect(tp,22348038)
end
function c22348036.decon2(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
return not Duel.IsPlayerAffectedByEffect(tp,22348037) and Duel.IsPlayerAffectedByEffect(tp,22348038)
end
function c22348036.decon3(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
return Duel.IsPlayerAffectedByEffect(tp,22348037) and not Duel.IsPlayerAffectedByEffect(tp,22348038)
end
function c22348036.decon4(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetControler()
return Duel.IsPlayerAffectedByEffect(tp,22348037) and Duel.IsPlayerAffectedByEffect(tp,22348038)
end
......
......@@ -30,10 +30,10 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.cfilter1(c)
return c:GetSequence()>=5
return c:GetSequence()<5
end
function cm.condition1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE,0)==5 and not Duel.IsExistingMatchingCard(cm.cfilter1,tp,0,LOCATION_MZONE,1,nil)
return Duel.IsExistingMatchingCard(cm.cfilter1,tp,0,LOCATION_MZONE,5,nil)
end
function cm.condition2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE,0)>1
......
......@@ -27,7 +27,7 @@ function c79029818.initial_effect(c)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE)
e3:SetHintTiming(0,TIMING_END_PHASE+TIMINGS_CHECK_MONSTER)
e3:SetCountLimit(1,09029818)
e3:SetCountLimit(1,19029818)
e3:SetCost(aux.bfgcost)
e3:SetTarget(c79029818.sctg)
e3:SetOperation(c79029818.scop)
......@@ -60,7 +60,7 @@ function c79029818.dsop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c79029818.scfilter(c,g)
return c:IsSetCard(0x107a) and c:IsSynchroSummonable(g)
return c:IsSetCard(0xa991) and c:IsSynchroSummonable(nil,g,1,99)
end
function c79029818.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(Card.IsSetCard,tp,LOCATION_MZONE,0,nil,0xa991)
......@@ -73,7 +73,7 @@ function c79029818.scop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=g:Select(tp,1,1,nil)
Duel.SynchroSummon(tp,sg:GetFirst(),nil,xg)
Duel.SynchroSummon(tp,sg:GetFirst(),nil,xg,1,99)
end
end
......
......@@ -75,8 +75,8 @@ function c79029819.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local tc=Duel.SelectMatchingCard(tp,c79029819.filter,tp,LOCATION_DECK,0,1,1,nil):GetFirst()
if tc then
local bool_a=tc:IsAbleToGrave()
local bool_b=tc:IsAbleToHand()
local bool_a=tc:IsAbleToHand()
local bool_b=tc:IsAbleToGrave()
local op=2
if bool_a and bool_b then
op=Duel.SelectOption(tp,aux.Stringid(79029819,2),aux.Stringid(79029819,3))
......@@ -155,7 +155,7 @@ function c79029819.spfilter2(c,e,tp)
end
function c79029819.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local g=e:GetLabelObject():GetLabelObject()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
if chk==0 then return not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and g and g:IsExists(c79029819.spfilter2,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end
......
......@@ -115,11 +115,11 @@ function c99990014.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
function c99990014.cfilter(c,tp)
function c99990014.dfilter(c,tp)
return c:IsSetCard(0xdd) and c:IsControler(tp) and c:IsFaceup()
end
function c99990014.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c99990014.cfilter,1,nil,tp) and not eg:IsContains(e:GetHandler())
return eg:IsExists(c99990014.dfilter,1,nil,tp) and not eg:IsContains(e:GetHandler())
end
function c99990014.thfilter(c)
return aux.IsCodeListed(c,89631139) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
......
......@@ -754,6 +754,7 @@
!counter 0xfd6 魔凰指示物
!setname 0x9fd5 渊异
!setname 0x3fd1 裁决
!setname 0x3fd1 煌印
#VHisc 916214730 332
!setname 0x321 锻溶
......@@ -986,4 +987,11 @@
!counter 0x153d 霰指示物
!counter 0x63 花瓣指示物
!setname 0x48c 猎魔圣骑
!setname 0x48f 净化
\ No newline at end of file
!setname 0x48f 净化
!setname 0x5536 兔子小队
!setname 0xcf30 ²Ô°×ÐǺ£ Pale Starry
!setname 0xf3b ¶ñò³ Deobra
!setname 0xf3d ¿ÌÖ¤ÊÞ Eviecast
!setname 0x5f3f ÒìÔÙÉñ Regrotesque
!setname 0x5567 苍星
!setname 0x706 遥远
\ 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