Commit 95011314 authored by mercury233's avatar mercury233

fix

parent 78fa103f
...@@ -53,7 +53,7 @@ function c100338002.countop(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,7 @@ function c100338002.countop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c100338002.tgfilter,tp,LOCATION_HAND+LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c100338002.tgfilter,tp,LOCATION_HAND+LOCATION_DECK,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g:SelectSubGroup(tp,c100338002.fselect,false,1,g:GetCount(),c) local sg=g:SelectSubGroup(tp,c100338002.fselect,false,1,g:GetCount(),c)
if sg:GetCount()>0 and Duel.SendtoGrave(sg,REASON_EFFECT)~=0 then if sg and sg:GetCount()>0 and Duel.SendtoGrave(sg,REASON_EFFECT)~=0 then
if c:IsFacedown() or not c:IsRelateToEffect(e) then return end if c:IsFacedown() or not c:IsRelateToEffect(e) then return end
local og=Duel.GetOperatedGroup() local og=Duel.GetOperatedGroup()
local ct=og:FilterCount(Card.IsLocation,nil,LOCATION_GRAVE) local ct=og:FilterCount(Card.IsLocation,nil,LOCATION_GRAVE)
......
...@@ -10,7 +10,7 @@ function c101101042.initial_effect(c) ...@@ -10,7 +10,7 @@ function c101101042.initial_effect(c)
e1:SetDescription(aux.Stringid(101101042,0)) e1:SetDescription(aux.Stringid(101101042,0))
e1:SetCategory(CATEGORY_DESTROY) e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_EQUIP) e1:SetCode(EVENT_EQUIP)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,101101042) e1:SetCountLimit(1,101101042)
......
...@@ -11,7 +11,7 @@ function c101101044.initial_effect(c) ...@@ -11,7 +11,7 @@ function c101101044.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1.101101044) e1:SetCountLimit(1,101101044)
e1:SetCost(c101101044.thcost) e1:SetCost(c101101044.thcost)
e1:SetTarget(c101101044.thtg) e1:SetTarget(c101101044.thtg)
e1:SetOperation(c101101044.thop) e1:SetOperation(c101101044.thop)
......
...@@ -21,7 +21,7 @@ function c101101055.initial_effect(c) ...@@ -21,7 +21,7 @@ function c101101055.initial_effect(c)
--search --search
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(101101055,0)) e3:SetDescription(aux.Stringid(101101055,0))
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_DESTROY) e3:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_SZONE) e3:SetRange(LOCATION_SZONE)
e3:SetCountLimit(1,101101055) e3:SetCountLimit(1,101101055)
...@@ -78,7 +78,7 @@ function c101101055.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,7 +78,7 @@ function c101101055.spcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsReason(REASON_LOST_TARGET) and c:GetPreviousEquipTarget():IsLocation(LOCATION_GRAVE) return c:IsReason(REASON_LOST_TARGET) and c:GetPreviousEquipTarget():IsLocation(LOCATION_GRAVE)
end end
function c101101055.spfilter(c,e,tp) function c101101055.spfilter(c,e,tp)
return c:IsRace(RACE_WARRIOR) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) return c:IsRace(RACE_WARRIOR) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end end
function c101101055.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c101101055.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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