Commit 7fb1985b authored by mercury233's avatar mercury233 Committed by GitHub

fix デンジャラス・デストーイ・ナイトメアリー

parent 660fb70d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
function c58468105.initial_effect(c) function c58468105.initial_effect(c)
--fusion material --fusion material
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xc3),aux.FilterBoolFunction(Card.IsFusionSetCard,0xa9),2,99,true) aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xc3),aux.FilterBoolFunction(Card.IsFusionSetCard,0xa9),2,2,true)
--atkup --atkup
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -72,8 +72,7 @@ function c58468105.discost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -72,8 +72,7 @@ function c58468105.discost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c58468105.discon(e,tp,eg,ep,ev,re,r,rp) function c58468105.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not rp==1-tp or c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end if rp~=1-tp or not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) or c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return end
local tg=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local tg=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
return tg and tg:IsContains(c) and Duel.IsChainDisablable(ev) return tg and tg:IsContains(c) and Duel.IsChainDisablable(ev)
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