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

str

parent 90a55dff
......@@ -46,14 +46,14 @@ end
-- and Duel.SelectYesNo(tp,aux.Stringid(m,1))
-- then
-- e:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND)
-- e:SetCategory(CATEGORY_TOHAND)
-- e:SetOperation(cm.activate)
-- Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,0,0,0)
-- e:SetCategory(CATEGORY_TOHAND)
-- e:SetOperation(cm.activate)
-- Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,0,0,0)
--Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,0,0,0)
-- else
-- e:SetCategory(0)
-- e:SetProperty(0)
-- e:SetOperation(nil)
-- else
-- e:SetCategory(0)
-- e:SetProperty(0)
-- e:SetOperation(nil)
-- end
--end
--function cm.activate(e,tp,eg,ep,ev,re,r,rp)
......@@ -66,15 +66,15 @@ end
-- and (not tc:IsAbleToHand() or Duel.SelectOption(tp,1190,1152)==1) then
-- Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
--else
-- Duel.SendtoHand(tc,nil,REASON_EFFECT)
-- Duel.SendtoHand(tc,nil,REASON_EFFECT)
-- Duel.ConfirmCards(1-tp,tc)
--end
-- end
--end
--e2
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0xa82) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,1,nil,0xa82)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0xa82) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0xa82)
Duel.Release(g,REASON_COST)
end
function cm.filter(c)
......
......@@ -20,8 +20,8 @@ function Suyu_bh.changecode(tc)
tc:SetEntityCode(sidecode)
local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_CODE)
e1:SetValue(0)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(sidecode)
e1:SetReset(RESET_EVENT+0x7e0000)
tc:RegisterEffect(e1)
tc:RegisterFlagEffect(16100000,RESET_EVENT+0x7e0000,0,0)
......@@ -32,8 +32,8 @@ function Suyu_bh.changecode2(tc)
tc:SetEntityCode(sidecode)
local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_CODE)
e1:SetValue(0)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(sidecode)
e1:SetReset(RESET_EVENT+0x7e0000)
tc:RegisterEffect(e1)
tc:ResetFlagEffect(16100000)
......
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