Commit 7f984893 authored by TanakaKotoha's avatar TanakaKotoha

remove useless bgm

parent a912762e
No preview for this file type
......@@ -31,18 +31,6 @@ function c1009011.initial_effect(c)
e1:SetTarget(c1009011.target)
e1:SetOperation(c1009011.operation)
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(c1009011.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009011.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009011,0))
end
function c1009011.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
......@@ -35,18 +35,6 @@ function c1009012.initial_effect(c)
e1:SetTarget(c1009012.distg)
e1:SetOperation(c1009012.disop)
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(c1009012.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009012.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009012,0))
end
function c1009012.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
......@@ -34,18 +34,6 @@ function c1009014.initial_effect(c)
e2:SetTarget(c1009014.target)
e2:SetOperation(c1009014.operation)
c:RegisterEffect(e2)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009014.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009014.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009014,0))
end
function c1009014.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
......
......@@ -25,18 +25,6 @@ function c1009016.initial_effect(c)
e3:SetTarget(c1009016.target)
e3:SetOperation(c1009016.operation)
c:RegisterEffect(e3)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009016.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009016.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009016,0))
end
function c1009016.value(e,c)
return Duel.GetMatchingGroupCount(Card.IsAttribute,0,LOCATION_GRAVE,LOCATION_GRAVE,nil,ATTRIBUTE_DARK)*500
......
......@@ -51,18 +51,6 @@ function c1009017.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(0,1)
c:RegisterEffect(e3)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009017.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c1009017.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009017,0))
end
function c1009017.lcheck(g,lc)
return g:IsExists(Card.IsAttackAbove,1,nil,2000)
......
......@@ -61,15 +61,6 @@ function c1009018.initial_effect(c)
e4:SetTarget(c1009018.destg)
e4:SetOperation(c1009018.desop)
c:RegisterEffect(e4)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SUMMON_SUCCESS)
e8:SetOperation(c1009018.sumsuc)
c:RegisterEffect(e8)
end
function c1009018.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009018,3))
end
function c1009018.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,1009018)==0 end
......
......@@ -59,15 +59,6 @@ function c1009020.initial_effect(c)
e4:SetTarget(c1009020.destg)
e4:SetOperation(c1009020.desop)
c:RegisterEffect(e4)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SUMMON_SUCCESS)
e8:SetOperation(c1009020.sumsuc)
c:RegisterEffect(e8)
end
function c1009020.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009020,6))
end
function c1009020.reg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -71,15 +71,6 @@ function c1009022.initial_effect(c)
e4:SetTarget(c1009022.destg)
e4:SetOperation(c1009022.desop)
c:RegisterEffect(e4)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SUMMON_SUCCESS)
e8:SetOperation(c1009022.sumsuc)
c:RegisterEffect(e8)
end
function c1009022.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009022,5))
end
function c1009022.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -63,15 +63,6 @@ function c1009023.initial_effect(c)
e4:SetTarget(c1009023.destg2)
e4:SetOperation(c1009023.desop2)
c:RegisterEffect(e4)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SUMMON_SUCCESS)
e8:SetOperation(c1009023.sumsuc)
c:RegisterEffect(e8)
end
function c1009023.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009023,0))
end
function c1009023.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x520c) and c:IsType(TYPE_PENDULUM) and c:IsAbleToGraveAsCost()
......
......@@ -26,15 +26,6 @@ function c1009024.initial_effect(c)
e3:SetTarget(c1009024.thtg2)
e3:SetOperation(c1009024.thop2)
c:RegisterEffect(e3)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009024.sumsuc)
c:RegisterEffect(e8)
end
function c1009024.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function c1009024.thfilter(c)
return c:IsSetCard(0x520c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
......
......@@ -54,15 +54,6 @@ function c1009027.initial_effect(c)
e6:SetTarget(c1009027.pentg)
e6:SetOperation(c1009027.penop)
c:RegisterEffect(e6)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009027.sumsuc)
c:RegisterEffect(e8)
end
function c1009027.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009027,0))
end
function c1009027.matfilter1(c)
return c:IsFusionType(TYPE_LINK) and c:IsFusionSetCard(0x520c)
......
......@@ -62,15 +62,6 @@ function c1009028.initial_effect(c)
e6:SetTarget(c1009028.pentg)
e6:SetOperation(c1009028.penop)
c:RegisterEffect(e6)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009028.sumsuc)
c:RegisterEffect(e8)
end
function c1009028.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009028,4))
end
function c1009028.ffilter(c)
return c:IsSetCard(0x520c)
......
......@@ -65,17 +65,8 @@ function c1009029.initial_effect(c)
e4:SetTarget(c1009029.pentg)
e4:SetOperation(c1009029.penop)
c:RegisterEffect(e4)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c1009029.sumsuc)
c:RegisterEffect(e8)
end
c1009029.pendulum_level=7
function c1009029.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009029,2))
end
function c1009029.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
......
......@@ -80,7 +80,6 @@ function c1009030.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ShuffleHand(tp)
end
end
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009030,1))
end
function c1009030.spcfilter(c,tp,rp)
return c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousControler()==tp and c:IsPreviousSetCard(0x520c)
......@@ -107,5 +106,4 @@ function c1009030.spop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_ATTACK)
end
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009030,1))
end
......@@ -30,7 +30,6 @@ function c1009033.activate(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009033,0))
end
end
function c1009033.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -47,5 +46,4 @@ function c1009033.sumop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
Duel.RegisterFlagEffect(tp,1009033,RESET_PHASE+PHASE_END,0,1)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(1009033,0))
end
......@@ -70,12 +70,6 @@ function cm.initial_effect(c)
e6:SetTarget(cm.distg)
e6:SetOperation(cm.disop)
c:RegisterEffect(e6)
--spsummon bgm
local e7=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e7:SetCode(EVENT_SPSUMMON_SUCCESS)
e7:SetOperation(cm.sumsuc)
c:RegisterEffect(e7)
end
cm.spchecks=aux.CreateChecks(Card.IsAttribute,{ATTRIBUTE_WIND,ATTRIBUTE_WATER,ATTRIBUTE_FIRE,ATTRIBUTE_EARTH,ATTRIBUTE_LIGHT,ATTRIBUTE_DARK})
function cm.splimit(e,se,sp,st)
......@@ -146,6 +140,3 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(eg,REASON_EFFECT)
end
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(17049001,3))
end
\ No newline at end of file
......@@ -3,12 +3,6 @@ if not pcall(function() require("expansions/script/c10199990") end) then require
local m,cm=rsof.DefineCard(33310100,"Cochrot")
function cm.initial_effect(c)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e0:SetOperation(cm.skipop)
c:RegisterEffect(e0)
local e1=rsef.SC(c,EVENT_SPSUMMON_SUCCESS,nil,nil,nil,rscon.sumtype("rit"),cm.atkop)
local e2,e3=rsef.SV_INDESTRUCTABLE(c,"battle,effect")
local e4=rsef.RegisterClone(c,e3,"code",EFFECT_AVOID_BATTLE_DAMAGE)
......@@ -20,9 +14,6 @@ local e0=Effect.CreateEffect(c)
c:RegisterEffect(e5)
local e6=rsef.STO(c,EVENT_REMOVE,{m,0},nil,nil,"de,dsp",nil,nil,rsop.target(cm.actfilter,nil,LOCATION_GRAVE+LOCATION_DECK),cm.actop)
end
function cm.skipop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(33310100,0))
end
function cm.atkop(e,tp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
if #g<=0 then return end
......
......@@ -7,7 +7,6 @@ function cm.initial_effect(c)
Senya.Nanahira(c)
aux.AddXyzProcedure(c,cm.mfilter,7,2)
c:EnableReviveLimit()
Senya.AddSummonMusic(c,m*16+2,SUMMON_TYPE_XYZ)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCountLimit(1,m)
......
This diff is collapsed.
......@@ -96,7 +96,6 @@ function c65010315.operation(e,tp,eg,ep,ev,re,r,rp)
else
c:CancelToGrave(false)
end
Duel.Hint(HINT_MUSIC,0,aux.Stringid(65010315,0))
end
function c65010315.aclimit(e,te)
return Duel.GetAttacker()==e:GetHandler() or Duel.GetAttackTarget()==e:GetHandler()
......
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