Commit 78632bfc authored by Tachibana's avatar Tachibana

tnndx

parent 34da2710
Pipeline #2677 passed with stages
in 25 minutes and 8 seconds
......@@ -31,8 +31,8 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if ( not Duel.IsPlayerCanDiscardDeck(tp,1) ) or Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)==0 then return end
local ct=Duel.GetFieldCard(tp,LOCATION_DECK,0)-1
local hc=Duel.GetFieldCard(tp,LOCATION_HAND,0)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)-1
local hc=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,math.min(ct,hc),nil,REASON_EFFECT)
local tt=g:GetCount()+1
......
......@@ -2,6 +2,7 @@ Duel.LoadScript("c12048000.lua")
--墓城誓姬 黑崎春日
local m=12048030
local cm=_G["c"..m]
cm.named_with_HakaShiro=true
function cm.initial_effect(c)
--indes
local e1=Effect.CreateEffect(c)
......
......@@ -84,7 +84,7 @@ function c40009178.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c40009178.setfilter,tp,LOCATION_EXTRA,0,1,1,nil)
local tc=g:GetFirst()
if tc then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......
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