Commit ef4633ce authored by tsubaki's avatar tsubaki

fix 2g

parent a06bc916
Pipeline #32885 passed with stage
in 9 seconds
...@@ -60,7 +60,7 @@ function c25068.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c25068.checkop(e,tp,eg,ep,ev,re,r,rp)
if at and at:IsStatus(STATUS_BATTLE_DESTROYED) then tc=a end if at and at:IsStatus(STATUS_BATTLE_DESTROYED) then tc=a end
if a:IsStatus(STATUS_BATTLE_DESTROYED) then tc=at end if a:IsStatus(STATUS_BATTLE_DESTROYED) then tc=at end
if a:IsStatus(STATUS_BATTLE_DESTROYED) and at:IsStatus(STATUS_BATTLE_DESTROYED) then return end if a:IsStatus(STATUS_BATTLE_DESTROYED) and at:IsStatus(STATUS_BATTLE_DESTROYED) then return end
tc:RegisterFlagEffect(25068,RESET_EVENT+0x1fe0000,0,0) if tc then tc:RegisterFlagEffect(25068,RESET_EVENT+0x1fe0000,0,0) end
end end
function c25068.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c25068.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
......
...@@ -24,6 +24,7 @@ function s.initial_effect(c) ...@@ -24,6 +24,7 @@ function s.initial_effect(c)
e2:SetCategory(CATEGORY_DESTROY) e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1) e2:SetCountLimit(1)
e2:SetTarget(s.destg) e2:SetTarget(s.destg)
......
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