Commit a6df3426 authored by mercury233's avatar mercury233 Committed by GitHub

fix 切り裂かれし闇

parent 1123682b
......@@ -66,7 +66,7 @@ function c21862633.drop(e,tp,eg,ep,ev,re,r,rp)
end
function c21862633.atkcon(e,tp,eg,ep,ev,re,r,rp)
local a,at=Duel.GetBattleMonster(tp)
return a and at and (a:IsType(TYPE_NORMAL) and a:IsLevelAbove(5)
return a and at and at:GetAttack()>0 and (a:IsType(TYPE_NORMAL) and a:IsLevelAbove(5)
or a:GetFlagEffect(21862633)>0 and (a:IsSummonType(SUMMON_TYPE_RITUAL)
or a:IsSummonType(SUMMON_TYPE_FUSION)
or a:IsSummonType(SUMMON_TYPE_SYNCHRO)
......@@ -74,7 +74,7 @@ function c21862633.atkcon(e,tp,eg,ep,ev,re,r,rp)
end
function c21862633.atkop(e,tp,eg,ep,ev,re,r,rp)
local a,at=Duel.GetBattleMonster(tp)
if not a or not d or not a:IsRelateToBattle() or a:IsFacedown() or not at:IsRelateToBattle() or at:IsFacedown() then return end
if not a or not at or not a:IsRelateToBattle() or a:IsFacedown() or not at:IsRelateToBattle() or at:IsFacedown() then return end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
......
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