Commit 3408ad9f authored by POLYMER's avatar POLYMER

fix

parent a4fca387
......@@ -50,8 +50,12 @@ end
function c44401003.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local check=c:IsRelateToEffect(e) and c:IsSummonType(SUMMON_TYPE_NORMAL) and c:GetFlagEffect(44401003)==0
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local tc=Duel.SelectMatchingCard(tp,c44401003.cfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_DECK+LOCATION_REMOVED,0,1,1,nil,e,tp,check):GetFirst()
local tg=Duel.GetMatchingGroup(c44401003.cfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_DECK+LOCATION_REMOVED,0,nil,e,tp,check)
local tc=tg:GetFirst()
if #tg>1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
tc=tg:Select(tp,1,1,nil):GetFirst()
end
if not tc then return end
if tc:IsLocation(LOCATION_HAND+LOCATION_MZONE) then
Duel.Summon(tp,tc,true,nil)
......
......@@ -14,7 +14,7 @@ function s.initial_effect(c)
e4:SetCategory(CATEGORY_ATKCHANGE)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_REMOVE)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e4:SetCondition(s.spcon2)
e4:SetTarget(s.atktg)
e4:SetOperation(s.atkop)
......
......@@ -18,6 +18,7 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCountLimit(1,id+1000)
e1:SetCost(s.cost)
e1:SetTarget(s.atktg)
......
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