Commit 94ee6fd4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c18700276.lua

parent d7af8e22
......@@ -15,9 +15,6 @@ function cm.initial_effect(c)
e1:SetTarget(cm.sumtg)
e1:SetOperation(cm.sumop)
c:RegisterEffect(e1)
local e4=e3:Clone()
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e4)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......@@ -35,6 +32,9 @@ function cm.initial_effect(c)
e3:SetCondition(cm.sumcon2)
e3:SetOperation(cm.sumop2)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e4)
end
function cm.filter(c)
return c:IsAttribute(ATTRIBUTE_WIND) and c:IsDiscardable()
......@@ -55,7 +55,7 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp)
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
e0:SetTargetRange(LOCATION_HAND+LOCATION_MZONE,0)
e0:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x8e))
e0:SetTarget(aux.TargetBoolFunction(Card.IsAttribute,ATTRIBUTE_WIND))
e0:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e0,tp)
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