Commit 7f028eaf authored by Tianchenglipu's avatar Tianchenglipu

Update c65025250.lua

parent 85af0ee9
--妖仙獣 左鎌神柱 --妖仙獣 左鎌神柱
function c65025250.initial_effect(c) function c65025250.initial_effect(c)
--pendulum summon --pendulum summon
aux.AddPendulumProcedure(c) aux.EnablePendulumAttribute(c)
--Activate --destroy replace
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EFFECT_DESTROY_REPLACE)
e1:SetRange(LOCATION_PZONE)
e1:SetTarget(c65025250.reptg)
e1:SetValue(c65025250.repval)
e1:SetOperation(c65025250.repop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--destroy replace --to defence
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e2:SetDescription(aux.Stringid(65025250,0))
e2:SetCode(EFFECT_DESTROY_REPLACE) e2:SetCategory(CATEGORY_POSITION)
e2:SetRange(LOCATION_PZONE) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetTarget(c65025250.reptg) e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetValue(c65025250.repval) e2:SetTarget(c65025250.postg)
e2:SetOperation(c65025250.repop) e2:SetOperation(c65025250.posop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--to defence --cannot be target
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(65025250,0)) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCategory(CATEGORY_POSITION) e3:SetCode(EFFECT_CANNOT_SELECT_EFFECT_TARGET)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e3:SetCode(EVENT_SUMMON_SUCCESS) e3:SetRange(LOCATION_MZONE)
e3:SetTarget(c65025250.postg) e3:SetTargetRange(0,0xff)
e3:SetOperation(c65025250.posop) e3:SetValue(c65025250.tgtg)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--cannot be target
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_CANNOT_SELECT_EFFECT_TARGET)
e4:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(0,0xff)
e4:SetValue(c65025250.tgtg)
c:RegisterEffect(e4)
end end
function c65025250.filter(c,tp) function c65025250.filter(c,tp)
return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_MZONE)
......
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