Commit dbe80cba authored by DailyShana's avatar DailyShana

fix

parent 6c49142a
...@@ -7,7 +7,7 @@ function c32134638.initial_effect(c) ...@@ -7,7 +7,7 @@ function c32134638.initial_effect(c)
e1:SetDescription(aux.Stringid(32134638,0)) e1:SetDescription(aux.Stringid(32134638,0))
e1:SetCategory(CATEGORY_DISABLE) e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_ACTIVATING) e1:SetCode(EVENT_CHAIN_SOLVING)
e1:SetRange(LOCATION_PZONE) e1:SetRange(LOCATION_PZONE)
e1:SetCondition(c32134638.negcon) e1:SetCondition(c32134638.negcon)
e1:SetOperation(c32134638.negop) e1:SetOperation(c32134638.negop)
......
...@@ -7,7 +7,7 @@ function c44155002.initial_effect(c) ...@@ -7,7 +7,7 @@ function c44155002.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_CHAIN_ACTIVATING) e1:SetCode(EVENT_CHAIN_SOLVING)
e1:SetOperation(c44155002.disop) e1:SetOperation(c44155002.disop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
......
...@@ -15,7 +15,7 @@ function c7044562.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -15,7 +15,7 @@ function c7044562.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,LOCATION_DECK)
end end
function c7044562.filter(c,lp) function c7044562.filter(c,lp)
return c:GetAttack()>0 and c:GetDefence()>0 and c:GetAttack()+c:GetDefence()==lp and c:IsAbleToHand() return c:GetAttack()>=0 and c:GetDefence()>=0 and c:GetAttack()+c:GetDefence()==lp and c:IsAbleToHand()
end end
function c7044562.activate(e,tp,eg,ep,ev,re,r,rp) function c7044562.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_DECK,0) local g=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
......
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