Commit 5af5d593 authored by Tianchenglipu's avatar Tianchenglipu

Update c95401059.lua

parent 7889a6b6
--オルシャドール-セフィラルーツ --オルシャドール-セフィラルーツ
function c95401059.initial_effect(c) function c95401059.initial_effect(c)
--pendulum summon --pendulum summon
aux.AddPendulumProcedure(c) aux.EnablePendulumAttribute(c)
--Activate --splimit
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetTargetRange(1,0)
e1:SetTarget(c95401059.splimit)
e1:SetCondition(aux.nfbdncon)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--splimit --spsummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetRange(LOCATION_PZONE) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetTargetRange(1,0) e2:SetCountLimit(1,95401059)
e2:SetTarget(c95401059.splimit) e2:SetCondition(c95401059.condition1)
e2:SetCondition(aux.nfbdncon) e2:SetTarget(c95401059.target)
e2:SetOperation(c95401059.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon local e3=e2:Clone()
local e3=Effect.CreateEffect(c) e3:SetCode(EVENT_TO_GRAVE)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetCondition(aux.TRUE)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetCountLimit(1,95401059)
e3:SetCondition(c95401059.condition1)
e3:SetTarget(c95401059.target)
e3:SetOperation(c95401059.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EVENT_TO_GRAVE)
e4:SetCondition(aux.TRUE)
c:RegisterEffect(e4)
end end
function c95401059.splimit(e,c,sump,sumtype,sumpos,targetp) function c95401059.splimit(e,c,sump,sumtype,sumpos,targetp)
if c:IsSetCard(0x9d) or c:IsSetCard(0xc4) then return false end if c:IsSetCard(0x9d) or c:IsSetCard(0xc4) then return false 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