Commit 0c267d9e authored by DailyShana's avatar DailyShana

fix

If this card is not on the field zone, it cannot activate its first effect (special summon monster from deck).
parent da6aabdd
......@@ -26,7 +26,7 @@ function c76136345.initial_effect(c)
e4:SetDescription(aux.Stringid(76136345,1))
e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_SZONE)
e4:SetRange(LOCATION_FZONE)
e4:SetCountLimit(1,76136345)
e4:SetCost(c76136345.thcost)
e4:SetTarget(c76136345.thtg)
......@@ -44,7 +44,7 @@ function c76136345.filter(c,e,tp)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c76136345.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 e:GetHandler():IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c76136345.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
......
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