Commit 99553e48 authored by mercury233's avatar mercury233

fix

parent e52a26fc
......@@ -3,7 +3,7 @@
function c100287012.initial_effect(c)
c:EnableReviveLimit()
--fusion material
aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x3008),aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),1,63,true)
aux.AddFusionProcFunFunRep(c,c100287012.mfilter1,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),1,63,true)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
......@@ -45,6 +45,9 @@ function c100287012.initial_effect(c)
e4:SetOperation(c100287012.spop)
c:RegisterEffect(e4)
end
function c100287012.mfilter1(c)
return c:IsFusionSetCard(0x3008) and c:IsFusionType(TYPE_FUSION)
end
function c100287012.valcheck(e,c)
local ct1=c:GetMaterialCount()
local ct2=c:GetMaterial():FilterCount(Card.IsFusionType,nil,TYPE_FUSION)
......
......@@ -8,7 +8,7 @@ function s.initial_effect(c)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MONE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_CHAIN_SOLVING)
e1:SetOperation(s.disop)
c:RegisterEffect(e1)
......
......@@ -19,7 +19,7 @@ function c100418028.initial_effect(c)
c:RegisterEffect(e2)
end
function c100418028.rmcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_QUICKPLAY)
return re:IsActiveType(TYPE_QUICKPLAY) and re:IsHasType(EFFECT_TYPE_ACTIVATE)
end
function c100418028.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -74,11 +74,13 @@ function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.drop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
local g=Duel.GetMatchingGroup(Card.IsAbleToDeck,p,LOCATION_HAND,0,nil)
if Duel.Draw(p,d,REASON_EFFECT)==2 and g:GetCount()>0 then
if Duel.Draw(p,d,REASON_EFFECT)==2 then
Duel.ShuffleHand(p)
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_TODECK)
local sg=g:Select(p,1,1,nil)
Duel.SendtoDeck(sg,nil,SEQ_DECKBOTTOM,REASON_EFFECT)
local sg=Duel.SelectMatchingCard(p,Card.IsAbleToDeck,p,LOCATION_HAND,0,1,1,nil)
if #sg>0 then
Duel.BreakEffect()
Duel.SendtoDeck(sg,nil,SEQ_DECKBOTTOM,REASON_EFFECT)
end
end
end
......@@ -51,6 +51,8 @@ function s.initial_effect(c)
e4:SetOperation(s.damop)
c:RegisterEffect(e4)
end
s.material_setcode=0x8
s.neos_fusion=true
function s.mfilter(c)
return c:IsFusionSetCard(0x27f) and c:IsFusionType(TYPE_FUSION)
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