Skip to content

Commit 1d1044b

Browse files
authored
Update "Millennium Necklace"
- Should not be able to activate the first turn of the Duel as there is no Draw Phase/ability to conduct a normal draw.
1 parent 3fbb44f commit 1d1044b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

skill/c300201006.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ function s.initial_effect(c)
55
aux.AddPreDrawSkillProcedure(c,1,false,s.flipcon,s.flipop)
66
end
77
function s.flipcon(e,tp,eg,ep,ev,re,r,rp)
8-
--opd check
9-
if Duel.GetFlagEffect(ep,id)>0 then return end
8+
--OPD check
9+
if Duel.GetFlagEffect(tp,id)>0 then return end
1010
--condition
11-
return Duel.GetCurrentChain()==0 and Duel.GetTurnPlayer()~=tp
11+
return Duel.GetCurrentChain()==0 and Duel.IsTurnPlayer(1-tp) and Duel.GetTurnCount()>1
1212
end
1313
function s.flipop(e,tp,eg,ep,ev,re,r,rp)
14-
--ask if you want to activate the skill or not
14+
--Ask if you want to activate the skill or not
1515
if not Duel.SelectYesNo(tp,aux.Stringid(id,0)) then return end
1616
Duel.Hint(HINT_SKILL_FLIP,tp,id|(1<<32))
1717
Duel.Hint(HINT_CARD,tp,id)
18-
--opd register
19-
Duel.RegisterFlagEffect(ep,id,0,0,0)
18+
--OPD register
19+
Duel.RegisterFlagEffect(tp,id,0,0,0)
20+
--Sort the top 3 cards of your opponnet's Deck
2021
Duel.SortDecktop(tp,1-tp,3)
2122
end

0 commit comments

Comments
 (0)