Commit 58759745 authored by TanakaKotoha's avatar TanakaKotoha

iidx gooooooooooooooooooold

parent 185a0192
......@@ -27,7 +27,6 @@ function c16100012.reop(e,tp,eg,ep,ev,re,r,rp)
if ct<1 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,1,nil)
Duel.HintSelection(g)
local tc=g:GetFirst()
Duel.Remove(tc,POS_FACEUP,REASON_RULE)
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -121,7 +121,7 @@ function c16100014.op1(e,tp,eg,ep,ev,re,r,rp)
if Duel.Draw(tp,1,REASON_EFFECT)==0 then return end
local dg=Duel.GetOperatedGroup()
local dc=dg:GetFirst()
if Duel.GetMZoneCount(tp)>0 and dc:IsCanBeSpecialSummoned(e,0,tp,false,false) and dc:IsSetCard(0xcc0) and ds:IsType(TYPE_MONSTER)
if Duel.GetMZoneCount(tp)>0 and dc:IsCanBeSpecialSummoned(e,0,tp,false,false) and dc:IsSetCard(0xcc0) and dc:IsType(TYPE_MONSTER)
and Duel.SelectYesNo(tp,aux.Stringid(16100014,4)) then
local lp=Duel.GetLP(tp)
Duel.SetLP(tp,lp-2000)
......@@ -140,7 +140,7 @@ function c16100014.op1(e,tp,eg,ep,ev,re,r,rp)
if Duel.Draw(tp,1,REASON_EFFECT)==0 then return end
local dg=Duel.GetOperatedGroup()
local dc=dg:GetFirst()
if Duel.GetMZoneCount(tp)>0 and dc:IsCanBeSpecialSummoned(e,0,tp,false,false) and dc:IsSetCard(0xcc0) and ds:IsType(TYPE_MONSTER)
if Duel.GetMZoneCount(tp)>0 and dc:IsCanBeSpecialSummoned(e,0,tp,false,false) and dc:IsSetCard(0xcc0) and dc:IsType(TYPE_MONSTER)
and Duel.SelectYesNo(tp,aux.Stringid(16100014,4)) then
local lp=Duel.GetLP(tp)
Duel.SetLP(tp,lp-2000)
......
......@@ -105,7 +105,7 @@ end
function cm.fpop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local chkf=tp
if c:IsFacedown() or not c:IsRelateToEffect(e) or c:IsImmuneToEffect(e) then return end
if c:IsImmuneToEffect(e) or not c:IsRelateToEffect(e) then return end
local mg1=Duel.GetFusionMaterial(tp):Filter(cm.filter1,nil,e)
mg1:Merge(Duel.GetMatchingGroup(cm.filter0,tp,LOCATION_EXTRA,0,nil,e))
local sg1=Duel.GetMatchingGroup(cm.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,c,chkf)
......
......@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1,m)
e2:SetCountLimit(1)
e2:SetCost(cm.cost)
e2:SetTarget(cm.target)
e2:SetOperation(cm.operation)
......
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