Commit 85457b70 authored by 聖園ミカ's avatar 聖園ミカ 🐟

null

parent dd76881a
Pipeline #26191 passed with stages
in 30 minutes and 8 seconds
No preview for this file type
...@@ -102,7 +102,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -102,7 +102,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET) e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_TRAP) e1:SetValue(TYPE_TRAP)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
Duel.RaiseEvent(sc,EVENT_SSET,e,REASON_EFFECT,tc:GetOwner(),nil,0) Duel.RaiseEvent(sc,EVENT_SSET,e,REASON_EFFECT,sc:GetOwner(),nil,0)
end end
end end
function s.initial_effect(c) function s.initial_effect(c)
......
...@@ -68,7 +68,7 @@ function s.efftg(c) ...@@ -68,7 +68,7 @@ function s.efftg(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_TO_GRAVE) e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,id-2000) e1:SetCountLimit(1,id-1000)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCondition(s.etcon) e1:SetCondition(s.etcon)
e1:SetTarget(s.ettg) e1:SetTarget(s.ettg)
......
...@@ -78,7 +78,7 @@ function s.efftg(c) ...@@ -78,7 +78,7 @@ function s.efftg(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_TO_GRAVE) e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,id-2000) e1:SetCountLimit(1,id-1000)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCondition(s.etcon) e1:SetCondition(s.etcon)
e1:SetTarget(s.ettg) e1:SetTarget(s.ettg)
......
...@@ -65,7 +65,7 @@ function s.efftg(c) ...@@ -65,7 +65,7 @@ function s.efftg(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_TO_GRAVE) e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,id-2000) e1:SetCountLimit(1,id-1000)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCondition(s.etcon) e1:SetCondition(s.etcon)
e1:SetTarget(s.ettg) e1:SetTarget(s.ettg)
......
...@@ -58,7 +58,7 @@ function c65052410.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c65052410.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c65052410.atkcon(e,tp,eg,ep,ev,re,r,rp) function c65052410.atkcon(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer() and Duel.IsEnvironment(65052413) return Duel.IsEnvironment(65052413)
end end
function c65052410.atktg(e,tp,eg,ep,ev,re,r,rp,chk) function c65052410.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -34,7 +34,7 @@ function c65052414.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,7 @@ function c65052414.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65052414.sumfil,1,nil) return eg:IsExists(c65052414.sumfil,1,nil)
end end
function c65052414.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65052414.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) end
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDestructable,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDestructable,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,Card.IsDestructable,tp,0,LOCATION_MZONE,1,1,nil) local g=Duel.SelectTarget(tp,Card.IsDestructable,tp,0,LOCATION_MZONE,1,1,nil)
......
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