Commit 78fc3767 authored by Tachibana's avatar Tachibana

EMERGENCY

parent 44dd5143
Pipeline #15403 passed with stages
in 27 minutes and 31 seconds
......@@ -15,7 +15,7 @@ function c12895001.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1))
e2:SetCategory(CATEGORY_REMOVE)
e2:SetType(EFFECT_TYPE_TRIGGER_F)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_BATTLED)
e2:SetCondition(cm.rmcon)
e2:SetTarget(cm.rmtg)
......
......@@ -118,7 +118,7 @@ function cm.sthop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetMatchingGroupCount(nil,tp,LOCATION_MZONE,0,nil)==0 and tc:IsCanBeSpecialSummoned(e,0,tp,true,true,POS_FACEUP)
and Duel.SelectYesNo(tp,aux.Stringid(m,0))
then
if Duel.SpecialSummonStep(tc,0,tp,tp,true,false,POS_FACEUP) then
if Duel.SpecialSummonStep(tc,0,tp,tp,true,true,POS_FACEUP) then
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TO_HAND_REDIRECT)
......
......@@ -71,7 +71,7 @@ function c15000065.descon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c15000065.desfilter,1,nil,tp)
end
function c15000065.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(e:GetHandlerPlayer(),c15000065.desfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,1,nil)
local g=Duel.SelectMatchingCard(e:GetHandlerPlayer(),c15000065.desfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,1,nil,e:GetHandlerPlayer())
if g:GetCount()~=0 then
Duel.Destroy(g,REASON_EFFECT)
Duel.BreakEffect()
......
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