Commit 92e350a4 authored by TanakaKotoha's avatar TanakaKotoha

iidx goooooooooooooooold

parent c48187ff
No preview for this file type
......@@ -63,6 +63,7 @@ function c1156606.op2(e,tp,eg,ep,ev,re,r,rp)
e2_2:SetType(EFFECT_TYPE_SINGLE)
e2_2:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
e2_2:SetValue(1)
e2_2:SetReset(RESET_EVENT+0x1fe0000+RESET_CHAIN)
c:RegisterEffect(e2_2,true)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,c1156606.tfilter2,tp,LOCATION_EXTRA,0,1,1,nil)
......@@ -70,6 +71,5 @@ function c1156606.op2(e,tp,eg,ep,ev,re,r,rp)
local tc=sg:GetFirst()
Duel.SpecialSummonRule(tp,tc,SUMMON_TYPE_LINK)
end
e2_2:Reset()
end
--
......@@ -5,6 +5,7 @@ cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c)
Senya.Nanahira(c)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsCode,37564765),aux.NonTuner(Card.IsRace,RACE_FAIRY),1)
Senya.AddSummonMusic(c,m*16+2,SUMMON_TYPE_SYNCHRO)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(m*16+1)
......
......@@ -6,6 +6,7 @@ cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c)
Senya.Nanahira(c)
aux.AddXyzProcedure(c,nil,7,2)
Senya.AddSummonMusic(c,m*16+2,SUMMON_TYPE_XYZ)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
......
......@@ -7,7 +7,6 @@ function cm.initial_effect(c)
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
aux.EnablePendulumAttribute(c,false)
c:EnableReviveLimit()
Senya.AddSummonMusic(c,m*16,SUMMON_TYPE_SYNCHRO)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
......@@ -6,13 +6,6 @@ cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c)
Senya.NanahiraPendulum(c)
c:EnableReviveLimit()
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(cm.sumcon)
e0:SetOperation(cm.sumsuc)
c:RegisterEffect(e0)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -39,12 +32,6 @@ cm.pendulum_info={
filter=aux.FilterBoolFunction(Card.IsCode,37564765),
max_count=1,
}
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_RITUAL) or e:GetHandler():IsSummonType(SUMMON_TYPE_PENDULUM)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81011001,0))
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0
end
......
......@@ -21,19 +21,6 @@ function cm.initial_effect(c)
e1:SetCost(cm.cost)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
--spsummon bgm
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCondition(cm.sumcon)
e2:SetOperation(cm.sumsuc)
c:RegisterEffect(e2)
end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,2))
end
function cm.ctval(e,c)
local oc=e:GetHandler():GetOverlayCount()
......
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