Commit 1253e746 authored by Huangnan's avatar Huangnan

Update c16232011.lua

parent 60c07aad
...@@ -19,7 +19,7 @@ function cm.initial_effect(c) ...@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,m) e2:SetCountLimit(1,m)
e2:SetCost(cm.tkcost) e2:SetCost(aux.bfgcost)
e2:SetTarget(cm.tktg) e2:SetTarget(cm.tktg)
e2:SetOperation(cm.tkop) e2:SetOperation(cm.tkop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -72,12 +72,6 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,12 +72,6 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(sg,REASON_EFFECT) Duel.SendtoGrave(sg,REASON_EFFECT)
end end
end end
function cm.tkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return cm.cost(e,tp,eg,ep,ev,re,r,rp,0)
and aux.bfgcost(e,tp,eg,ep,ev,re,r,rp,0) end
cm.cost(e,tp,eg,ep,ev,re,r,rp,1)
aux.bfgcost(e,tp,eg,ep,ev,re,r,rp,1)
end
function cm.tgfilter(c) function cm.tgfilter(c)
return c:IsRace(RACE_REPTILE) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsRace(RACE_REPTILE) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
end 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