Commit 022cac3f authored by wind2009's avatar wind2009

Fix Ashened to Infinity & rename

parent e90bb1dc
--CHAMANA DE LA CIUDAD CALCINADA4 --Shaman of the Ashened City
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
--REENCENDER LOS CALCINADOS --Reignite the Ashened
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
--APAGANDO LOS CALCINADOS --Extinguishment of the Ashened
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
--灰尽无限 --Ashened to Infinity
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -115,7 +115,10 @@ function s.fsop(e,tp,eg,ep,ev,re,r,rp) ...@@ -115,7 +115,10 @@ function s.fsop(e,tp,eg,ep,ev,re,r,rp)
aux.FCheckAdditional=nil aux.FCheckAdditional=nil
end end
function s.costfilter(c) function s.costfilter(c)
return c:IsRace(RACE_PYRO) and c:IsAbleToRemoveAsCost() return c:IsRace(RACE_PYRO) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsAbleToRemoveAsCost()
end
function s.crfilter(c)
return c:IsFaceup() and not c:IsRace(RACE_PYRO)
end end
function s.attcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.attcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -126,7 +129,7 @@ function s.attcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -126,7 +129,7 @@ function s.attcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function s.atttg(e,tp,eg,ep,ev,re,r,rp,chk) function s.atttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.crfilter,tp,0,LOCATION_MZONE,1,nil) end
end end
function s.attop(e,tp,eg,ep,ev,re,r,rp) function s.attop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() 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