Commit b64b5953 authored by Tachibana's avatar Tachibana

ndyd

parent e918ca41
Pipeline #4618 passed with stages
in 29 minutes and 42 seconds
No preview for this file type
......@@ -27,18 +27,6 @@ function c1009038.initial_effect(c)
e1:SetTarget(c1009038.target)
e1:SetOperation(c1009038.activate)
c:RegisterEffect(e1)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009038.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009038.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009038,0))
end
function c1009038.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
......
......@@ -31,7 +31,6 @@ function c1009039.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c1009039.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009039,0))
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
......
......@@ -8,7 +8,7 @@ function scard.initial_effect(c)
e0:SetCode(EVENT_FREE_CHAIN)
e0:SetTarget(scard.regtg)
e0:SetOperation(function()
Duel.Hint(HINT_MUSIC,0,id*16+math.random(0,1))
Duel.Hint(HINT_MUSIC,0,id*16+1)
end)
c:RegisterEffect(e0)
local e1=Effect.CreateEffect(c)
......
......@@ -20,10 +20,10 @@ function c77707070.initial_effect(c)
c:RegisterEffect(e1)
end
function c77707070.check(c)
return c:IsLevelAbove(1)
return c:IsLevelAbove(1)
end
function c77707070.lcheck(g)
return g:GetClassCount(Card.GetLevel)==1
return g:GetClassCount(Card.GetLevel)==1
end
function c77707070.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0 end
......@@ -58,7 +58,5 @@ end
function c77707070.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)==1 then
end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
......@@ -3,7 +3,7 @@ local cm=_G["c"..m]
Duel.LoadScript("c37564765.lua")
function cm.initial_effect(c)
Senya.AddSummonMusic(c,m*16)
cm.AddAttackBGM(c,m*16+1)
Senya.AddAttackSE(c,aux.Stringid(m,1))
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
......@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e2:SetCost(Senya.SelfDiscardCost)
e2:SetCountLimit(1,m)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SOUND,0,m*16+3)
Duel.Hint(HINT_SOUND,0,aux.Stringid(m,3))
local turn=Duel.GetTurnCount()
local c=e:GetHandler()
local ex=Effect.CreateEffect(c)
......@@ -43,7 +43,7 @@ function cm.initial_effect(c)
if chk==0 then
return tc and tc:IsAbleToHand()
end
Duel.Hint(HINT_SOUND,0,m*16+2)
Duel.Hint(HINT_SOUND,0,aux.Stringid(m,2))
Duel.ConfirmCards(tp,tg)
Duel.SetTargetCard(tg)
if tc:IsType(TYPE_SPELL+TYPE_TRAP) then
......@@ -79,7 +79,7 @@ function cm.initial_effect(c)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp)
end
Duel.Hint(HINT_SOUND,0,m*16+2)
Duel.Hint(HINT_SOUND,0,aux.Stringid(m,2))
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,tp,LOCATION_DECK)
end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp,chk)
......
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