Commit c1d145a2 authored by 聖園ミカ's avatar 聖園ミカ 🐟

vme50

parent 3c0b4f5a
No preview for this file type
......@@ -49,7 +49,7 @@ function s.initial_effect(c)
e6:SetCategory(CATEGORY_TOGRAVE)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e6:SetCode(EVENT_BATTLED)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_CANNOT_INACTIVATE)
e6:SetTarget(s.destg)
e6:SetOperation(s.desop)
c:RegisterEffect(e6)
......
......@@ -40,7 +40,7 @@ function c65052315.wudiop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()==2 then
if Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)~=0 then
local mg=Duel.GetMatchingGroup(Card.IsCanBeXyzMaterial,tp,LOCATION_MZONE,0,nil,nil)
if Duel.IsExistingMatchingCard(c65052315.xyzfilter,tp,LOCATION_EXTRA,0,1,nil,mg) then
if Duel.IsExistingMatchingCard(c65052315.xyzfilter,tp,LOCATION_EXTRA,0,1,nil,mg) and Duel.SelectYesNo(tp,aux.Stringid(65052315,0)) then
local g2=Duel.GetMatchingGroup(c65052315.xyzfilter,tp,LOCATION_EXTRA,0,nil,mg)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tg=g2:Select(tp,1,1,nil)
......
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