Commit b88d40e6 authored by TanakaKotoha's avatar TanakaKotoha

tiao zheng sha

parent 512cca13
...@@ -9,11 +9,13 @@ function cm.initial_effect(c) ...@@ -9,11 +9,13 @@ function cm.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
--f --f
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(m*16+1) e2:SetDescription(m*16+4)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,m) e2:SetCountLimit(1,m)
e2:SetCondition(cm.MaterialCheck(TYPE_LINK)) e2:SetCondition(cm.MaterialCheck(TYPE_LINK,function(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP() and not e:GetHandler():IsHasEffect(EFFECT_ATTACK_ALL)
end))
e2:SetCost(Senya.DescriptionCost(function(e,tp,eg,ep,ev,re,r,rp,chk) e2:SetCost(Senya.DescriptionCost(function(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_DECK,0,1,nil) return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_DECK,0,1,nil)
...@@ -84,7 +86,7 @@ function cm.initial_effect(c) ...@@ -84,7 +86,7 @@ function cm.initial_effect(c)
return c:GetOriginalCode()==code and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:GetOriginalCode()==code and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(m*16+3) e2:SetDescription(m*16+1)
e2:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
...@@ -179,7 +181,7 @@ function cm.initial_effect(c) ...@@ -179,7 +181,7 @@ function cm.initial_effect(c)
c:RegisterEffect(ex) c:RegisterEffect(ex)
--l --l
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(m*16+4) e2:SetDescription(m*16+3)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetCategory(CATEGORY_DISABLE) e2:SetCategory(CATEGORY_DISABLE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
......
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