Commit 9ba9c026 authored by 聖園ミカ's avatar 聖園ミカ 🐟

clean

parent 6f4a13d4
......@@ -21,7 +21,7 @@ function s.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_DESTROYED)
e1:SetProperty(EFFECT_FLAG_DELAY)
......
--崇神核心
local s,id=GetID()
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......@@ -35,7 +35,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_REMOVE)
local g2=Duel.SelectMatchingCard(1-tp,Card.IsAbleToRemove,tp,0,LOCATION_HAND+LOCATION_GRAVE+LOCATION_EXTRA+LOCATION_DECK,5,5,nil)
Duel.Remove(g2,POS_FACEDOWN,REASON_EFFECT)
Duel.BreakEffect()
Duel.BreakEffect()
if not c:IsRelateToEffect(e) then return end
c:CancelToGrave()
Duel.SendtoDeck(c,1-tp,2,REASON_EFFECT)
......
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