Commit 37745b56 authored by wind2009's avatar wind2009

Fix

parent af2e7604
Pipeline #32732 passed with stages
in 1 minute and 13 seconds
No preview for this file type
--热星雷火沸动机
--スター・ライゼオル
local s,id,o=GetID()
function s.initial_effect(c)
--special summon rule
......@@ -31,7 +31,7 @@ end
function s.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST)
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_SPSUMMON)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(s.cfilter,tp,LOCATION_MZONE,0,c)
......
--雷火沸动质量投射器
--ライゼオル・マスドライバー
local s,id,o=GetID()
function s.initial_effect(c)
--Activate
......@@ -41,6 +41,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local tc=Duel.SelectMatchingCard(tp,s.ovfilter,tp,LOCATION_MZONE,0,1,1,nil,e):GetFirst()
if tc then
c:CancelToGrave()
Duel.Overlay(tc,Group.FromCards(c))
end
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