Commit 092c65d9 authored by tsubaki's avatar tsubaki

1.999zy fix3

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