Commit 092c65d9 authored by tsubaki's avatar tsubaki

1.999zy fix3

parent 486a2e06
...@@ -121,16 +121,16 @@ if not TET.ELCounter then ...@@ -121,16 +121,16 @@ if not TET.ELCounter then
if code == Electro then if code == Electro then
Duel.Hint(HINT_CARD,0,50704) Duel.Hint(HINT_CARD,0,50704)
count = count-num count = count-num
if eh < Mystery then
local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1) local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1)
local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1) local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1)
if eh < Mystery then
gd:Merge(gh) gd:Merge(gh)
end
Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1)
if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then
Duel.Damage(tp,Mystery*400,REASON_EFFECT) Duel.Damage(tp,Mystery*400,REASON_EFFECT)
end end
end end
end
--冻结 --冻结
if code == Cryo then if code == Cryo then
Duel.Hint(HINT_CARD,0,50705) Duel.Hint(HINT_CARD,0,50705)
...@@ -189,16 +189,16 @@ if not TET.ELCounter then ...@@ -189,16 +189,16 @@ if not TET.ELCounter then
if code == Hydro then if code == Hydro then
Duel.Hint(HINT_CARD,0,50704) Duel.Hint(HINT_CARD,0,50704)
count = count-num count = count-num
if eh < Mystery then
local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1) local gh=Duel.GetFieldGroup(tp,LOCATION_HAND,0):RandomSelect(tp,1)
local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1) local gd=Duel.GetFieldGroup(tp,LOCATION_DECK,0):RandomSelect(tp,1)
if eh < Mystery then
gd:Merge(gh) gd:Merge(gh)
end
Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,50429,RESET_PHASE+PHASE_END,0,1)
if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then if Duel.SendtoGrave(gd,REASON_EFFECT)>0 then
Duel.Damage(tp,Mystery*400,REASON_EFFECT) Duel.Damage(tp,Mystery*400,REASON_EFFECT)
end end
end end
end
--超导 --超导
if code == Cryo then if code == Cryo then
Duel.Hint(HINT_CARD,0,50706) Duel.Hint(HINT_CARD,0,50706)
......
...@@ -34,11 +34,11 @@ function c50501.initial_effect(c) ...@@ -34,11 +34,11 @@ function c50501.initial_effect(c)
e3:SetOperation(c50501.operation3) e3:SetOperation(c50501.operation3)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c50101.filter(c) function c50501.filter(c)
return c:IsSetCard(0x250) return c:IsSetCard(0x250)
end end
function c50101.condition(e,tp,eg,ep,ev,re,r,rp) function c50501.condition(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c50101.filter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c50501.filter,tp,LOCATION_DECK,0,nil)
return g:GetClassCount(Card.GetOriginalCode)>3 return g:GetClassCount(Card.GetOriginalCode)>3
end end
function c50501.spfilter4(c,e,tp) function c50501.spfilter4(c,e,tp)
......
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