Commit f6520d88 authored by tsubaki's avatar tsubaki

1.999zy fix2

parent 32ee4152
No preview for this file type
......@@ -123,12 +123,12 @@ if not TET.ELCounter then
count = count-num
local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1)
local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1)
if eh>=2 then
if eh < Mystery then
gd:Merge(gh)
end
Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1)
if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then
Duel.Damage(tp,Mystery*300,REASON_EFFECT)
Duel.Damage(tp,Mystery*400,REASON_EFFECT)
end
end
--冻结
......@@ -191,12 +191,12 @@ if not TET.ELCounter then
count = count-num
local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1)
local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1)
if eh>=2 then
if eh < Mystery then
gd:Merge(gh)
end
Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1)
if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then
Duel.Damage(tp,Mystery*300,REASON_EFFECT)
Duel.Damage(tp,Mystery*400,REASON_EFFECT)
end
end
--超导
......
No preview for this file type
......@@ -70,7 +70,7 @@ end
function c50216.bop2(e,tp,eg,ep,ev,re,r,rp)
local num=1
local genso,count=TET.ELCounter.Get(1-tp)
if genso==50216 and count>1 then num=2-count end
if genso==50216 and count>0 then num=1-count end
if num<0 then num=0 end
TET.ELCounter.Add(nil,1-tp,50216,num,e)
end
......@@ -7,6 +7,7 @@ function c50501.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(2,50501)
e1:SetCondition(c50101.condition)
e1:SetCost(c50501.cost1)
e1:SetTarget(c50501.target1)
e1:SetOperation(c50501.operation1)
......@@ -17,6 +18,7 @@ function c50501.initial_effect(c)
e2:SetType(EFFECT_TYPE_ACTIVATE)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCountLimit(2,50501)
e2:SetCondition(c50101.condition)
e2:SetCost(c50501.cost2)
e2:SetTarget(c50501.target2)
e2:SetOperation(c50501.operation2)
......@@ -32,6 +34,13 @@ function c50501.initial_effect(c)
e3:SetOperation(c50501.operation3)
c:RegisterEffect(e3)
end
function c50101.filter(c)
return c:IsSetCard(0x250)
end
function c50101.condition(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c50101.filter,tp,LOCATION_DECK,0,nil)
return g:GetClassCount(Card.GetOriginalCode)>3
end
function c50501.spfilter4(c,e,tp)
return c:IsSetCard(0x250) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:GetLevel()==4
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