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

fix リバース・バスター

parent b326f1b2
...@@ -23,7 +23,7 @@ function c90640901.initial_effect(c) ...@@ -23,7 +23,7 @@ function c90640901.initial_effect(c)
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(90640901,0)) e4:SetDescription(aux.Stringid(90640901,0))
e4:SetCategory(CATEGORY_DESTROY) e4:SetCategory(CATEGORY_DESTROY)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_BATTLE_START) e4:SetCode(EVENT_BATTLE_START)
e4:SetCondition(c90640901.descon) e4:SetCondition(c90640901.descon)
e4:SetTarget(c90640901.destg) e4:SetTarget(c90640901.destg)
...@@ -44,7 +44,7 @@ function c90640901.descon(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function c90640901.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler()==Duel.GetAttacker() and d and d:IsFacedown() and d:IsDefensePos() return e:GetHandler()==Duel.GetAttacker() and d and d:IsFacedown() and d:IsDefensePos()
end end
function c90640901.destg(e,tp,eg,ep,ev,re,r,rp,chk) function c90640901.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return Duel.GetAttackTarget():IsRelateToBattle() end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,Duel.GetAttackTarget(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,Duel.GetAttackTarget(),1,0,0)
end end
function c90640901.desop(e,tp,eg,ep,ev,re,r,rp) function c90640901.desop(e,tp,eg,ep,ev,re,r,rp)
......
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