Commit 39dd3c23 authored by Nemo Ma's avatar Nemo Ma

fix

parent 40f661f7
...@@ -11,7 +11,7 @@ function c60159912.initial_effect(c) ...@@ -11,7 +11,7 @@ function c60159912.initial_effect(c)
--act in hand --act in hand
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND) e2:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e2:SetCondition(c60159912.handcon) e2:SetCondition(c60159912.handcon)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
......
...@@ -49,7 +49,7 @@ function c79029566.xsplimit(e,se,sp,st) ...@@ -49,7 +49,7 @@ function c79029566.xsplimit(e,se,sp,st)
return bit.band(st,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION return bit.band(st,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
end end
function c79029566.matfilter1(c) function c79029566.matfilter1(c)
return c:GetSequence()>4 return c:GetSequence()>4 and c:IsLocation(LOCATION_MZONE)
end end
function c79029566.matfilter2(c) function c79029566.matfilter2(c)
return c:GetAttackAnnouncedCount()>0 return c:GetAttackAnnouncedCount()>0
......
...@@ -61,18 +61,18 @@ function c98920177.damcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -61,18 +61,18 @@ function c98920177.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function c98920177.filter(c) function c98920177.damfilter(c)
return c:IsFaceup() and c:IsType(TYPE_FIELD) return c:IsFaceup() and c:IsType(TYPE_FIELD)
end end
function c98920177.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c98920177.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c98920177.filter,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c98920177.damfilter,tp,LOCATION_GRAVE,0,1,nil) end
local ct=Duel.GetMatchingGroupCount(c98920177.filter,tp,LOCATION_GRAVE,0,nil) local ct=Duel.GetMatchingGroupCount(c98920177.damfilter,tp,LOCATION_GRAVE,0,nil)
Duel.SetTargetPlayer(1-tp) Duel.SetTargetPlayer(1-tp)
Duel.SetTargetParam(ct*400) Duel.SetTargetParam(ct*400)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,ct*400) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,ct*400)
end end
function c98920177.damop(e,tp,eg,ep,ev,re,r,rp) function c98920177.damop(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetMatchingGroupCount(c98920177.filter,tp,LOCATION_GRAVE,0,nil) local ct=Duel.GetMatchingGroupCount(c98920177.damfilter,tp,LOCATION_GRAVE,0,nil)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER) local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
Duel.Damage(p,ct*400,REASON_EFFECT) Duel.Damage(p,ct*400,REASON_EFFECT)
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