Commit 1ffb11ce authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c82000646.lua

parent 02c4f607
...@@ -3,7 +3,7 @@ function c82000646.initial_effect(c) ...@@ -3,7 +3,7 @@ function c82000646.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82000646,0)) e1:SetDescription(aux.Stringid(82000646,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE)
e1:SetCode(EVENT_CUSTOM+82000646) e1:SetCode(EVENT_CUSTOM+82000646)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetRange(LOCATION_GRAVE) e1:SetRange(LOCATION_GRAVE)
...@@ -51,7 +51,7 @@ function c82000646.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function c82000646.discon(e,tp,eg,ep,ev,re,r,rp)
return ev==tp or ev==PLAYER_ALL return ev==tp or ev==PLAYER_ALL
end end
function c82000646.rmfilter(c) function c82000646.rmfilter(c)
return c:IsAbleToRemove() return c:IsAbleToRemove() and not c:IsCode(82000646)
end end
function c82000646.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c82000646.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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