Commit 0cadea3b authored by salix5's avatar salix5

fix Nekroz Kaleidoscope

parent 0143f670
...@@ -74,6 +74,7 @@ function c51124303.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,6 +74,7 @@ function c51124303.activate(e,tp,eg,ep,ev,re,r,rp)
if not mc then return end if not mc then return end
local sg=Duel.GetMatchingGroup(c51124303.spfilter,tp,LOCATION_HAND,0,mc,e,tp,mc) local sg=Duel.GetMatchingGroup(c51124303.spfilter,tp,LOCATION_HAND,0,mc,e,tp,mc)
if mc:IsLocation(LOCATION_MZONE) then ft=ft+1 end if mc:IsLocation(LOCATION_MZONE) then ft=ft+1 end
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local b1=sg:IsExists(c51124303.rfilter,1,nil,mc) local b1=sg:IsExists(c51124303.rfilter,1,nil,mc)
local b2=sg:CheckWithSumEqual(Card.GetLevel,mc:GetLevel(),1,ft) local b2=sg:CheckWithSumEqual(Card.GetLevel,mc:GetLevel(),1,ft)
if b1 and (not b2 or Duel.SelectYesNo(tp,aux.Stringid(51124303,0))) then if b1 and (not b2 or Duel.SelectYesNo(tp,aux.Stringid(51124303,0))) then
......
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