Commit c0eabc53 authored by wind2009's avatar wind2009

Fix 月光銀狗

parent b2d2322e
...@@ -20,8 +20,9 @@ function s.initial_effect(c) ...@@ -20,8 +20,9 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
e2:SetCountLimit(1,id+o) e2:SetCountLimit(1,id+o)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_GRAVE)
e2:SetCondition(s.negcon) e2:SetCondition(s.negcon)
e2:SetCost(s.negcost)
e2:SetTarget(s.negtg) e2:SetTarget(s.negtg)
e2:SetOperation(s.negop) e2:SetOperation(s.negop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -83,5 +84,5 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -83,5 +84,5 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
end end
function s.negop(e,tp,eg,ep,ev,re,r,rp) function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateActivation(ev)
end end
\ No newline at end of file
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