Commit e113eef4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

31

parent 577580b0
...@@ -4,8 +4,8 @@ stages: ...@@ -4,8 +4,8 @@ stages:
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
LAST_UPDATE_DATE: "2024.4.1" LAST_UPDATE_DATE: "2024.4.15"
CURRENT_UPDATE_DATE: "2024.4.14" CURRENT_UPDATE_DATE: "2024.4.28"
redtext: redtext:
stage: prepare stage: prepare
......
No preview for this file type
...@@ -35,6 +35,20 @@ function cm.initial_effect(c) ...@@ -35,6 +35,20 @@ function cm.initial_effect(c)
e2:SetTarget(cm.thtg) e2:SetTarget(cm.thtg)
e2:SetOperation(cm.thop) e2:SetOperation(cm.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon bgm
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(cm.sumcon)
e6:SetOperation(cm.sumsuc)
c:RegisterEffect(e6)
end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,0))
end end
function cm.lcheck(g,lc) function cm.lcheck(g,lc)
return g:IsExists(Card.IsLevel,1,nil,2) or g:IsExists(Card.IsRank,1,nil,2) or g:IsExists(Card.IsLink,1,nil,2) return g:IsExists(Card.IsLevel,1,nil,2) or g:IsExists(Card.IsRank,1,nil,2) or g:IsExists(Card.IsLink,1,nil,2)
......
...@@ -30,6 +30,20 @@ function cm.initial_effect(c) ...@@ -30,6 +30,20 @@ function cm.initial_effect(c)
e2:SetTarget(cm.negtg) e2:SetTarget(cm.negtg)
e2:SetOperation(cm.negop) e2:SetOperation(cm.negop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon bgm
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(cm.sumcon)
e6:SetOperation(cm.sumsuc)
c:RegisterEffect(e6)
end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,2))
end end
function cm.cfilter(c) function cm.cfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER) return c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER)
......
...@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true ...@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c) function cm.initial_effect(c)
Senya.NanahiraPendulum(c) Senya.NanahiraPendulum(c)
c:EnableReviveLimit() c:EnableReviveLimit()
Senya.AddSummonMusic(c,m*16,SUMMON_TYPE_RITUAL) Senya.AddSummonMusic(c,m*16,SUMMON_TYPE_RITUAL+SUMMON_TYPE_PENDULUM)
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
...@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true ...@@ -6,7 +6,7 @@ cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c) function cm.initial_effect(c)
Senya.NanahiraPendulum(c) Senya.NanahiraPendulum(c)
c:EnableReviveLimit() c:EnableReviveLimit()
Senya.AddSummonMusic(c,m*16,SUMMON_TYPE_RITUAL) Senya.AddSummonMusic(c,m*16,SUMMON_TYPE_RITUAL+SUMMON_TYPE_PENDULUM)
--to hand --to hand
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
......
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