Commit 5457832e authored by mercury233's avatar mercury233 Committed by GitHub

fix 肆世壊の牙掌突

parent 9af73740
...@@ -22,7 +22,6 @@ function c79552283.initial_effect(c) ...@@ -22,7 +22,6 @@ function c79552283.initial_effect(c)
e4:SetCategory(CATEGORY_DISABLE) e4:SetCategory(CATEGORY_DISABLE)
e4:SetType(EFFECT_TYPE_QUICK_O) e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_CHAINING) e4:SetCode(EVENT_CHAINING)
e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e4:SetRange(LOCATION_SZONE) e4:SetRange(LOCATION_SZONE)
e4:SetCountLimit(1,79552283) e4:SetCountLimit(1,79552283)
e4:SetCondition(c79552283.discon) e4:SetCondition(c79552283.discon)
...@@ -59,7 +58,7 @@ function c79552283.exfilter(c) ...@@ -59,7 +58,7 @@ function c79552283.exfilter(c)
return c:IsFaceup() and c:IsSetCard(0x17a) and c:GetSequence()>=5 return c:IsFaceup() and c:IsSetCard(0x17a) and c:GetSequence()>=5
end end
function c79552283.discon(e,tp,eg,ep,ev,re,r,rp) function c79552283.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsChainNegatable(ev) and Duel.IsExistingMatchingCard(c79552283.exfilter,tp,LOCATION_MZONE,0,1,nil) and rp==1-tp return Duel.IsChainDisablable(ev) and Duel.IsExistingMatchingCard(c79552283.exfilter,tp,LOCATION_MZONE,0,1,nil) and rp==1-tp
end end
function c79552283.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c79552283.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
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