Commit da953129 authored by mercury233's avatar mercury233

fix

parent 41aec8f3
...@@ -27,7 +27,7 @@ function c100426031.initial_effect(c) ...@@ -27,7 +27,7 @@ function c100426031.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c100426031.cfilter(c) function c100426031.cfilter(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x12b) return c:IsAbleToRemoveAsCost() and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x12b)
end end
function c100426031.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c100426031.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c100426031.cfilter,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c100426031.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
...@@ -68,7 +68,7 @@ function c100426031.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,7 +68,7 @@ function c100426031.tgop(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup() local og=Duel.GetOperatedGroup()
local ct2=og:FilterCount(c100426031.ctfilter2,nil) local ct2=og:FilterCount(c100426031.ctfilter2,nil)
if ct2>0 then if ct2>0 then
Duel.Damage(tp,ct2*200,REASON_EFFECT) Duel.Damage(1-tp,ct2*200,REASON_EFFECT)
end end
end end
end end
......
...@@ -23,7 +23,7 @@ function c101107059.initial_effect(c) ...@@ -23,7 +23,7 @@ function c101107059.initial_effect(c)
e3:SetDescription(aux.Stringid(101107059,0)) e3:SetDescription(aux.Stringid(101107059,0))
e3:SetCategory(CATEGORY_DRAW) e3:SetCategory(CATEGORY_DRAW)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetRange(LOCATION_SZONE) e3:SetRange(LOCATION_SZONE)
e3:SetCondition(c101107059.drcon) e3:SetCondition(c101107059.drcon)
......
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