Commit 6a81b8d4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c23410015.lua

parent 3002819c
......@@ -26,10 +26,10 @@ function cm.initial_effect(c)
--negate
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,3))
e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_REMOVE)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DELAY)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,m)
e2:SetCondition(cm.effcon)
......@@ -75,7 +75,7 @@ end
function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
local rg1=g2:Filter(cm.rmfil,nil)
local rg1=g1:Filter(cm.rmfil,nil)
local g2=Duel.GetFieldGroup(tp,0,LOCATION_DECK)
local rg2=g2:Filter(cm.rmfil,nil)
if Duel.IsPlayerAffectedByEffect(tp,23410013) then
......
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