Commit 4beb12a9 authored by 聖園ミカ's avatar 聖園ミカ 🐟

vme50

parent 8d16f07c
......@@ -40,9 +40,9 @@ function c50221315.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if check~=100 then return false end
e:SetLabel(0,0,0)
return Duel.CheckReleaseGroup(REASON_COST,tp,c50221315.costfilter,1,nil,e,tp)
return Duel.CheckReleaseGroup(tp,c50221315.costfilter,1,nil,e,tp)
end
local tc=Duel.SelectReleaseGroup(REASON_COST,tp,c50221315.costfilter,1,1,nil,e,tp):GetFirst()
local tc=Duel.SelectReleaseGroup(tp,c50221315.costfilter,1,1,nil,e,tp):GetFirst()
e:SetLabel(0,tc:GetAttribute())
Duel.Release(tc,REASON_COST)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
......
......@@ -31,8 +31,8 @@ function c50221320.cfilter(c)
return bit.band(c:GetType(),0x81)==0x81 and c:IsSetCard(0xcb3) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c50221320.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c50221320.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c50221320.cfilter,1,1,nil)
if chk==0 then return Duel.CheckReleaseGroup(tp,c50221320.cfilter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c50221320.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
function c50221320.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -47,7 +47,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(cm.tg0)
e2:SetValue(1)
e2:SetValue(aux.tgoval)
e2:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e2,tp)
local e1=Effect.CreateEffect(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