Commit 66e3c25e authored by 花桃白音's avatar 花桃白音

fix116s128s313s124&307,update cdb313s

parent e63f546a
No preview for this file type
......@@ -50,20 +50,20 @@ function s.spfilter(c,e,tp)
return c:IsFaceup() and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCode(m) and ( Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,nil) or Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,nil,mg) ) and Duel.GetLocationCountFromEx(tp,tp,mg,TYPE_SYNCHRO)>0
end
function s.mtfilter(c)
return c:IsFaceup() and c:IsLevelAbove(1) and (c:IsLocation(LOCATION_MZONE) or c:IsAbleToRemove())
return c:IsLevelAbove(1) and ((c:IsFaceup() and c:IsLocation(LOCATION_MZONE)) or c:IsAbleToRemove())
end
function s.scfilter(c)
return c:IsSetCard(0x3540) and c:IsSynchroSummonable(nil)
function s.scfilter(c,mg)
return c:IsSetCard(0x3540) and c:IsSynchroSummonable(nil,mg)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local mg=Duel.GetMatchingGroup(s.mtfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil)
if chk==0 then return ( Duel.IsExistingMatchingCard(s.scfilter,tp,LOCATION_EXTRA,0,1,nil,nil) or Duel.IsExistingMatchingCard(s.scfilter,tp,LOCATION_EXTRA,0,1,nil,nil,mg) ) and Duel.GetLocationCountFromEx(tp,tp,mg,TYPE_SYNCHRO)>0 end
if chk==0 then return ( Duel.IsExistingMatchingCard(s.scfilter,tp,LOCATION_EXTRA,0,1,nil,nil) or Duel.IsExistingMatchingCard(s.scfilter,tp,LOCATION_EXTRA,0,1,nil,mg) ) and Duel.GetLocationCountFromEx(tp,tp,mg,TYPE_SYNCHRO)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local mg=Duel.GetMatchingGroup(s.mtfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil)
local hg=Duel.GetMatchingGroup(s.scfilter,tp,LOCATION_EXTRA,0,nil,nil,mg)
local hg=Duel.GetMatchingGroup(s.scfilter,tp,LOCATION_EXTRA,0,nil,mg)
if hg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=hg:Select(tp,1,1,nil)
......
--异邦岩峰 荧
local s,id=GetID()
function s.initial_effect(c)
c:EnableCounterPermit(0x540)
c:EnableCounterPermit(0x542)
--link summon
aux.AddLinkProcedure(c,s.mfilter,1,1)
--set
......@@ -52,18 +52,18 @@ function s.stcon(e,tp,eg,ep,ev,re,r,rp)
end
function s.addct(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,0,0x540)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,0,0x542)
end
function s.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then
e:GetHandler():AddCounter(0x540,1)
e:GetHandler():AddCounter(0x542,1)
end
end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x540,1,REASON_COST) end
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x542,1,REASON_COST) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
Duel.RemoveCounter(tp,1,0,0x540,1,REASON_COST)
Duel.RemoveCounter(tp,1,0,0x542,1,REASON_COST)
end
function s.lvfilter(c)
return c:IsFaceup() and c:GetLevel()>0
......@@ -97,9 +97,9 @@ function s.stop(e,tp,eg,ep,ev,re,r,rp)
end
function s.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x540,5,REASON_COST) end
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,0,0x542,5,REASON_COST) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
Duel.RemoveCounter(tp,1,0,0x540,5,REASON_COST)
Duel.RemoveCounter(tp,1,0,0x542,5,REASON_COST)
end
function s.filter1(c,e,sc,chkx)
......@@ -190,6 +190,6 @@ function s.rstop(e,tp,eg,ep,ev,re,r,rp)
end
function s.op(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x540,5)
e:GetHandler():AddCounter(0x542,5)
end
\ No newline at end of file
--幽灵的歧路·拉卡德勒
local m=12400021
local cm=_G["c"..m]
function cm.initial_effect(c)
local s,id=GetID()
function s.initial_effect(c)
--special summon proc
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,0))
e2:SetDescription(aux.Stringid(id,0))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetCountLimit(1,m)
e2:SetCountLimit(1,id)
e2:SetRange(LOCATION_DECK)
e2:SetCondition(cm.spcon)
e2:SetCondition(s.spcon)
e2:SetValue(1)
c:RegisterEffect(e2)
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e4:SetCondition(cm.actcon)
e4:SetOperation(cm.actop)
e4:SetCondition(s.actcon)
e4:SetOperation(s.actop)
e4:SetLabelObject(e2)
c:RegisterEffect(e4)
--special summon
--
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(cm.spcon2)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_LEAVE_FIELD)
e1:SetCondition(s.tkcon)
e1:SetOperation(s.tkop)
c:RegisterEffect(e1)
--damage
local e3=Effect.CreateEffect(c)
......@@ -35,15 +34,15 @@ function cm.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCondition(cm.damcon)
e3:SetTarget(cm.damtg)
e3:SetOperation(cm.damop)
e3:SetCondition(s.damcon)
e3:SetTarget(s.damtg)
e3:SetOperation(s.damop)
c:RegisterEffect(e3)
--cannot attack
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e5:SetCode(EVENT_SPSUMMON_SUCCESS)
e5:SetOperation(cm.atklimit)
e5:SetOperation(s.atklimit)
c:RegisterEffect(e5)
--attack limit
local e6=Effect.CreateEffect(c)
......@@ -51,78 +50,95 @@ function cm.initial_effect(c)
e6:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e6:SetRange(LOCATION_MZONE)
e6:SetTargetRange(0,LOCATION_MZONE)
e6:SetValue(cm.atlimit)
e6:SetValue(s.atlimit)
c:RegisterEffect(e6)
if not cm.global_check then
cm.global_check=true
if not s.global_check then
s.global_check=true
local ge1=Effect.CreateEffect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_REMOVE)
ge1:SetOperation(cm.checkop)
ge1:SetCode(EVENT_DESTROYED)
ge1:SetOperation(s.checkop)
Duel.RegisterEffect(ge1,0)
end
end
function cm.ckfilter1(c)
return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsPreviousLocation(LOCATION_HAND+LOCATION_GRAVE)
function s.ckfilter1(c)
return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsSummonLocation(LOCATION_HAND) and c:IsSummonType(TYPE_SPSUMMON)
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(cm.ckfilter1,1,nil) then
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(s.ckfilter1,1,nil) then
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1)
end
end
function cm.spcon(e,c)
function s.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetFlagEffect(tp,m)>=2
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetFlagEffect(tp,id)>=2
end
function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
function s.actcon(e,tp,eg,ep,ev,re,r,rp)
local te=e:GetLabelObject()
return re==te and e:GetHandler():IsAbleToHand()
end
function cm.ckfilter1(c)
return c:IsFaceup() and not c:IsType(TYPE_LINK)
function s.ckfilter1(c)
return c:IsFaceup() and not c:IsType(TYPE_LINK)
end
function cm.actop(e,tp,eg,ep,ev,re,r,rp)
function s.actop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.SendtoHand(c,tp,REASON_EFFECT)
local g=Duel.GetMatchingGroup(cm.ckfilter1,tp,0,LOCATION_MZONE,nil)
Duel.SendtoHand(c,tp,REASON_EFFECT)
end
function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP)
end
function s.tkop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.ckfilter1,tp,0,LOCATION_MZONE,nil)
if g:GetCount()>0 then
local tc=g:RandomSelect(tp,1):GetFirst()
local tc=g:RandomSelect(tp,1):GetFirst()
local predef=tc:GetDefense()
local e1=Effect.CreateEffect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_DEFENSE)
e1:SetValue(-3000)
e1:SetValue(-2000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
if predef~=0 and tc:IsDefense(0) then Duel.SendtoGrave(tc,REASON_EFFECT) end
end
end
function cm.spcon2(e,c)
if c==nil then return true end
return Duel.GetTurnCount()>=7
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
function s.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_HAND)
end
function cm.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnCount()>=7
and e:GetHandler():IsPreviousLocation(LOCATION_HAND)
function s.ckfilter3(c)
return c:IsFaceup() and not (c:IsDefense(0) or c:IsType(TYPE_LINK))
end
function cm.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler()) end
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,5000)
function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.ckfilter3,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler()) end
local g=Duel.GetMatchingGroup(s.ckfilter3,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500)
end
function cm.damop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,aux.ExceptThisCard(e))
Duel.SendtoGrave(g,REASON_EFFECT)
Duel.Damage(1-tp,5000,REASON_EFFECT)
function s.damop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.ckfilter3,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
local tg=Group.CreateGroup()
if g:GetCount()>0 then
local tc=g:GetFirst()
while tc do
local predef=tc:GetDefense()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_DEFENSE)
e1:SetValue(-1000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
if predef~=0 and tc:IsDefense(0) then tg:AddCard(tc) end
tc=g:GetNext()
end
end
if tg:GetCount()>0 then Duel.SendtoGrave(tg,REASON_EFFECT) end
Duel.Damage(1-tp,500,REASON_EFFECT)
end
function cm.atklimit(e,tp,eg,ep,ev,re,r,rp)
function s.atklimit(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_ATTACK)
......@@ -130,7 +146,7 @@ function cm.atklimit(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1)
end
function cm.atlimit(e,c)
function s.atlimit(e,c)
return c~=e:GetHandler()
end
......
......@@ -7,7 +7,7 @@ function c12812001.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -7,7 +7,7 @@ function c12812002.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -7,7 +7,7 @@ function c12812003.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -7,7 +7,7 @@ function c12812004.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -3,7 +3,7 @@ local m=12812005
local cm=_G["c"..m]
function c12812005.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa73),4,2)
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c,false)
......@@ -11,7 +11,7 @@ function c12812005.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......@@ -40,6 +40,9 @@ function c12812005.initial_effect(c)
e4:SetTarget(cm.pentg)
e4:SetOperation(cm.penop)
c:RegisterEffect(e4)
--
cm.self_summon_effect=e3
end
function cm.psplimit(e,c,tp,sumtp,sumpos)
return not c:IsSetCard(0xa73) and bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
......
......@@ -8,7 +8,7 @@ function c12812006.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -7,7 +7,7 @@ function c12812007.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -7,7 +7,7 @@ function c12812010.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.psplimit)
c:RegisterEffect(e1)
......
......@@ -55,13 +55,14 @@ function cm.costfilter(c)
and c:CheckRemoveOverlayCard(tp,1,REASON_COST)
end
function cm.gvcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() and (Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) or Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_MZONE,0,1,nil) )end
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() and (Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,c) or Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_MZONE,0,1,nil) )end
if Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_MZONE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(30700037,0)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DEATTACHFROM)
local c=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_MZONE,0,1,1,nil,tp):GetFirst()
c:RemoveOverlayCard(tp,1,1,REASON_COST)
else
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD,c)
end
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
......
......@@ -120,7 +120,7 @@ function s.filter2(c,e,tp,m,f,chkf,check)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function s.checkfilter(c)
return c:GetBaseAttack(35) and c:IsFaceup()
return c:GetBaseAttack()==35 and c:IsFaceup()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -86,7 +86,7 @@ function s.filter2(c,e,tp,m,f,chkf,check)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function s.checkfilter(c)
return c:GetBaseAttack(35) and c:IsFaceup()
return c:GetBaseAttack()==35 and c:IsFaceup()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -71,7 +71,7 @@ function s.filter2(c,e,tp,m,f,chkf,check)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function s.checkfilter(c)
return c:GetBaseAttack(35) and c:IsFaceup()
return c:GetBaseAttack()==35 and c:IsFaceup()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -70,7 +70,7 @@ function s.filter2(c,e,tp,m,f,chkf,check)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function s.checkfilter(c)
return c:GetBaseAttack(35) and c:IsFaceup()
return c:GetBaseAttack()==35 and c:IsFaceup()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -79,7 +79,7 @@ function s.filter2(c,e,tp,m,f,chkf,check)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end
function s.checkfilter(c)
return c:GetBaseAttack(35) and c:IsFaceup()
return c:GetBaseAttack()==35 and c:IsFaceup()
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
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