Commit 92d89d55 authored by nanahira's avatar nanahira

change ten to wav

parent 06c1b82a
......@@ -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_MUSIC,0,m*16+3)
Duel.Hint(HINT_SOUND,0,m*16+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_MUSIC,0,m*16+2)
Duel.Hint(HINT_SOUND,0,m*16+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_MUSIC,0,m*16+2)
Duel.Hint(HINT_SOUND,0,m*16+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)
......@@ -182,7 +182,7 @@ function cm.AddAttackBGM(c,desc)
return cm.AttackSEList[Duel.GetAttacker()]
end)
e1:SetOperation(function()
Duel.Hint(HINT_MUSIC,0,cm.AttackSEList[Duel.GetAttacker()])
Duel.Hint(HINT_SOUND,0,cm.AttackSEList[Duel.GetAttacker()])
end)
Duel.RegisterEffect(e1,0)
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