Commit 98342cee authored by zengsxing's avatar zengsxing

Update c101208032.lua

parent 39944f39
Pipeline #32303 failed with stages
in 35 seconds
--红天马 火翼飞马 --紅天馬ファイヤー・ウイング・ペガサス
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--special summon --special summon
...@@ -12,17 +12,17 @@ function s.initial_effect(c) ...@@ -12,17 +12,17 @@ function s.initial_effect(c)
e1:SetOperation(s.spop) e1:SetOperation(s.spop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--damage --damage
local e3=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e2:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_DESTROY) e2:SetCategory(CATEGORY_DAMAGE)
e3:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,id) e2:SetCountLimit(1,id)
e3:SetCondition(s.damcon) e2:SetCondition(s.damcon)
e3:SetTarget(s.damtg) e2:SetTarget(s.damtg)
e3:SetOperation(s.damop) e2:SetOperation(s.damop)
c:RegisterEffect(e3) c:RegisterEffect(e2)
end end
function s.spcon(e,c) function s.spcon(e,c)
if c==nil then return true end if c==nil then return true 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