Skip to content

Commit efb6e4a

Browse files
authored
Update "Master Storm Access"
Should theoretically allow unofficial variants as well
1 parent 2f62829 commit efb6e4a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

unofficial/c152000018.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ function s.flipcon(e,tp,eg,ep,ev,re,r,rp)
1010
return Duel.GetFlagEffect(tp,id)==0
1111
end
1212
function s.flipop(e,tp,eg,ep,ev,re,r,rp)
13-
--opt Register
13+
--OPT Register
1414
Duel.RegisterFlagEffect(tp,id,RESET_PHASE|PHASE_END,0,0)
1515
Duel.Hint(HINT_SKILL_FLIP,tp,id|(1<<32))
1616
Duel.Hint(HINT_CARD,tp,id)
17+
--Checks for "Anti-Skill"
1718
if aux.CheckSkillNegation(e,tp) then return end
1819
--Add Cyberse monster to Extra Deck
19-
s.announce_filter={TYPE_EXTRA,OPCODE_ISTYPE,RACE_CYBERSE,OPCODE_ISRACE,OPCODE_AND}
20+
s.announce_filter={TYPE_EXTRA,OPCODE_ISTYPE,RACE_CYBERSE,OPCODE_ISRACE,OPCODE_AND,OPCODE_ALLOW_ALIASES}
2021
local storm=Duel.AnnounceCard(tp,table.unpack(s.announce_filter))
2122
local tc=Duel.CreateToken(tp,storm)
2223
if tc:IsAbleToDeck() then
2324
Duel.SendtoDeck(tc,tp,0,REASON_EFFECT)
2425
end
2526
Duel.Hint(HINT_SKILL_FLIP,tp,id|(2<<32))
26-
end
27+
end

0 commit comments

Comments
 (0)