@@ -5,17 +5,18 @@ function s.initial_effect(c)
55 aux .AddPreDrawSkillProcedure (c ,1 ,false ,s .flipcon ,s .flipop )
66end
77function 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
1212end
1313function 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 )
2122end
0 commit comments