Commit 0702468e authored by 森野さくら's avatar 森野さくら 🐟

hop

parent 1b6102d8
......@@ -53,8 +53,9 @@ end
function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local rc=re:GetHandler()
local b1=rc:IsAbleToGrave() and not rc:IsLocation(LOCATION_GRAVE)
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and rc:IsCanBeSpecialSummoned(e,0,tp,false,false)) and rc:IsRelateToEffect(e)
if not rc:IsRelateToEffect(re) then return end
local b1=rc:IsAbleToGrave() and not rc:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED)
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and rc:IsCanBeSpecialSummoned(e,0,tp,false,false))
if chk==0 then return b1 or b2 end
if re:GetHandler():IsAttribute(ATTRIBUTE_DARK) then
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
......@@ -75,7 +76,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if rc:IsRelateToEffect(re) then
local tc=Duel.GetFirstTarget()
local b1=tc:IsAbleToGrave() and not tc:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED)
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false)) and rc:IsRelateToEffect(e)
local b2=(Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false))
local off=1
local ops={}
local opval={}
......
......@@ -17,6 +17,7 @@ function c16400270.initial_effect(c)
e2:SetDescription(aux.Stringid(16400270,1))
e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_HANDES)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,16400270)
e2:SetTarget(c16400270.thtg)
......
......@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableReviveLimit()
--fusion
aux.AddFusionProcCode2FunRep(c,16400274,16400395,aux.FilterBoolFunction(Card.IsFusionSetCard,0x19),2,2,true,true)
aux.AddFusionProcCode2FunRep(c,16400274,16400395,aux.FilterBoolFunction(Card.IsFusionSetCard,0xce9),2,2,true,true)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
......
......@@ -251,8 +251,8 @@
!setname 0x3a7b 璇姬
!setname 0x6a7b 天之杯
!setname 0x9a7b 狩猎游戏
!setname 3a7c 25
!setname 6a7c Miku
!setname 0x3a7c 25
!setname 0x6a7c Miku
!setname 0x9a7c 对魔特异
!setname 0xaa7c 武器人
!counter 0xa7f 好感指示物
......
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