Commit ad9a27c9 authored by 独孤朲's avatar 独孤朲

fix

parent 0b1ba758
...@@ -20,7 +20,7 @@ function c59123194.initial_effect(c) ...@@ -20,7 +20,7 @@ function c59123194.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EVENT_BATTLE_DESTROYING) e2:SetCode(EVENT_BATTLE_DESTROYING)
e2:SetCondition(c59123194.damcon) e2:SetCondition(aux.bdocon)
e2:SetTarget(c59123194.damtg) e2:SetTarget(c59123194.damtg)
e2:SetOperation(c59123194.damop) e2:SetOperation(c59123194.damop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -49,11 +49,6 @@ function c59123194.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,11 +49,6 @@ function c59123194.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
end end
end end
function c59123194.damcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
return c:IsRelateToBattle() and bc:IsLocation(LOCATION_GRAVE) and bc:IsType(TYPE_MONSTER)
end
function c59123194.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c59123194.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local bc=e:GetHandler():GetBattleTarget() local bc=e:GetHandler():GetBattleTarget()
......
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