Commit d96b43d7 authored by Tianchenglipu's avatar Tianchenglipu

Update c4239451.lua

parent 7e5f98ef
--EMヒックリカエル
function c4239451.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
aux.EnablePendulumAttribute(c)
--swap1
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetDescription(aux.Stringid(4239451,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1)
e1:SetTarget(c4239451.adtg1)
e1:SetOperation(c4239451.adop1)
c:RegisterEffect(e1)
--swap1
--swap2
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(4239451,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_PZONE)
e2:SetDescription(aux.Stringid(4239451,1))
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1)
e2:SetTarget(c4239451.adtg1)
e2:SetOperation(c4239451.adop1)
e2:SetCondition(c4239451.adcon2)
e2:SetTarget(c4239451.adtg2)
e2:SetOperation(c4239451.adop2)
c:RegisterEffect(e2)
--swap2
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(4239451,1))
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_MZONE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1)
e3:SetCondition(c4239451.adcon2)
e3:SetTarget(c4239451.adtg2)
e3:SetOperation(c4239451.adop2)
c:RegisterEffect(e3)
end
function c4239451.filter(c)
return c:IsFaceup()
......
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