Commit 26227eb7 authored by Tachibana's avatar Tachibana

ndyd

parent 35536976
Pipeline #4637 passed with stages
in 21 minutes and 34 seconds
......@@ -98,7 +98,7 @@ function cm.rthop(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(cm.spfilter,cp,LOCATION_HAND,0,1,nil,e,cp) and Duel.SelectYesNo(cp,aux.Stringid(m,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(cp,cm.spfilter,cp,LOCATION_HAND,0,1,1,nil,e,cp)
Duel.SpecialSummon(tc,0,cp,cp,false,false,POS_FACEUP)
Duel.SpecialSummon(g,0,cp,cp,false,false,POS_FACEUP)
table.insert(cm.table,tc:GetCode())
end
end
\ No newline at end of file
......@@ -202,8 +202,10 @@ function yume.AddYumeWeaponGlobal(c)
--set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(71400001,1))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetCondition(yume.YumeCon)
e1:SetCost(yume.WeaponSetCost)
e1:SetTarget(yume.WeaponSetTg)
......
......@@ -15,6 +15,7 @@ function c71400018.initial_effect(c)
e1:SetCondition(yume.YumeCon)
e1:SetOperation(c71400018.operation)
c:RegisterEffect(e1)
yume.AddYumeWeaponGlobal(c)
end
function c71400018.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) 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