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

1+1=3

parent 245cd633
...@@ -48,7 +48,7 @@ function c21100623.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,7 +48,7 @@ function c21100623.op(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetTarget(c21100623.int) e1:SetTarget(c21100623.ind)
e1:SetValue(aux.tgoval) e1:SetValue(aux.tgoval)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
......
...@@ -46,7 +46,7 @@ function c21100651.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c21100651.op(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
if Duel.Draw(tp,2,REASON_EFFECT)>1 then if Duel.Draw(tp,2,REASON_EFFECT)>1 then
local hg=Duel.GetFieldGroup(tp,LOCATION_HAND,0) local hg=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
if not hg:GetCount()>=2 then return false end if #hg<2 then return false end
Duel.Hint(3,tp,HINTMSG_TODECK) Duel.Hint(3,tp,HINTMSG_TODECK)
local tg=hg:Select(tp,2,2,nil) local tg=hg:Select(tp,2,2,nil)
Duel.SendtoDeck(tg,nil,2,REASON_EFFECT) Duel.SendtoDeck(tg,nil,2,REASON_EFFECT)
......
...@@ -45,7 +45,7 @@ function c21100657.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function c21100657.op(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 and Duel.IsPlayerCanDraw(tp,2) then if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 and Duel.IsPlayerCanDraw(tp,2) then
if Duel.Draw(tp,2,REASON_EFFECT)==2 then if Duel.Draw(tp,2,REASON_EFFECT)==2 then
Duel.Hint(3,tp,HINTMSG_TOGRAVE) Duel.Hint(3,tp,HINTMSG_TOGRAVE)
local tg=Duel.SelectMatchingCard(Card.IsAbleToGrave,tp,LOCATION_HAND,0,1,nil) local tg=Duel.SelectMatchingCard(Card.IsAbleToGrave,tp,LOCATION_HAND,0,1,1,nil)
if tg:GetCount()>0 then if tg:GetCount()>0 then
Duel.SendtoGrave(tg,REASON_EFFECT) Duel.SendtoGrave(tg,REASON_EFFECT)
end end
......
...@@ -16,7 +16,7 @@ function s.initial_effect(c) ...@@ -16,7 +16,7 @@ function s.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(1169) e2:SetDescription(1169)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL) e2:SetCountLimit(1,id+EFFECT_COUNT_CODE_DUEL)
......
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