Commit 581c3858 authored by TanakaKotoha's avatar TanakaKotoha

tnndx

parent a3f282d9
......@@ -84,7 +84,7 @@ function cm.igop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmDecktop(tp,1)
local g=Duel.GetDecktopGroup(tp,1)
local tc=g:GetFirst()
if tc:IsType(TYPE_MONSTER) and c:IsRace(RACE_PLANT) and tc:IsCanBeSpecialSummoned(e,0,tp,true,false) then
if tc:IsType(TYPE_MONSTER) and tc:IsRace(RACE_PLANT) and tc:IsCanBeSpecialSummoned(e,0,tp,true,false) then
Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP)
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_EFFECT)
else
......
......@@ -22,7 +22,7 @@ end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local ct=Duel.SendtoGrave(sg,REASON_EFFECT+REASON_DISCARD)
local g1=Duel.GetMatchingGroup(Card.IsAbleToRemov,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
local g1=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
if ct>=1 and #g1>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sel=g1:Select(tp,1,1,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