Commit b5c85b9a authored by 聖園ミカ's avatar 聖園ミカ 🐟

7

parent 0798500f
No preview for this file type
...@@ -27,7 +27,7 @@ function s.initial_effect(c) ...@@ -27,7 +27,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,4)) e3:SetDescription(aux.Stringid(id,4))
e3:SetCategory(CATEGORY_DESTROY) e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_LEAVE_FIELD) e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetProperty(EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_DELAY)
...@@ -104,12 +104,12 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -104,12 +104,12 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local ops={} local ops={}
local opval={} local opval={}
if #b1>0 then if #b1>0 then
ops[off]=aux.Stringid(id,1) ops[off]=aux.Stringid(id,0)
opval[off]=0 opval[off]=0
off=off+1 off=off+1
end end
if #b2>0 then if #b2>0 then
ops[off]=aux.Stringid(id,2) ops[off]=aux.Stringid(id,1)
opval[off]=1 opval[off]=1
off=off+1 off=off+1
end end
......
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