Commit 9d4adbd6 authored by Chen Bill's avatar Chen Bill

fix スターダスト・ドラゴン/バスター

parent e4fb6d5a
......@@ -7,7 +7,7 @@ function c61257789.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
e1:SetValue(c61257789.splimit)
c:RegisterEffect(e1)
--Negate
local e2=Effect.CreateEffect(c)
......@@ -46,6 +46,9 @@ function c61257789.initial_effect(c)
c:RegisterEffect(e4)
end
c61257789.assault_name=44508094
function c61257789.splimit(e,se,sp,st)
return aux.AssaultModeLimit(e,se,sp,st) or se:GetHandler()==e:GetHandler()
end
function c61257789.negcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and Duel.IsChainNegatable(ev)
end
......@@ -69,12 +72,12 @@ end
function c61257789.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:GetFlagEffect(61257789)>0
and c:IsCanBeSpecialSummoned(e,0,tp,true,false) end
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c61257789.sumop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
end
end
function c61257789.spcon(e,tp,eg,ep,ev,re,r,rp)
......
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