Commit 7d1b26e7 authored by Wind's avatar Wind

Operation fix

parent 1e7cb88b
......@@ -753,10 +753,10 @@ function Auxiliary.FireEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.FireEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.FireEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.FireEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.FireEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.FireEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.FireEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -782,10 +782,10 @@ function Auxiliary.WindEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WindEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WindEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WindEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WindEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WindEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WindEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -811,10 +811,10 @@ function Auxiliary.EarthEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.EarthEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.EarthEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.EarthEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.EarthEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -840,10 +840,10 @@ function Auxiliary.LightEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.LightEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.LightEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.LightEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.LightEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.LightEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.LightEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -869,10 +869,10 @@ function Auxiliary.DarkEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.DarkEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.DarkEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.DarkEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.DarkEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -898,10 +898,10 @@ function Auxiliary.WaterEH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WaterEH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WaterEH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterEH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WaterEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WaterEH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -927,10 +927,10 @@ function Auxiliary.FireShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.FireShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.FireShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.FireShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.FireShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.FireShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.FireShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -956,10 +956,10 @@ function Auxiliary.WindShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WindShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WindShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WindShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WindShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WindShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WindShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -985,10 +985,10 @@ function Auxiliary.EarthShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.EarthShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.EarthShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.EarthShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.EarthShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1014,10 +1014,10 @@ function Auxiliary.LightShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.LightShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.LightShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.LightShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.LightShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.LightShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.LightShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1043,10 +1043,10 @@ function Auxiliary.DarkShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.DarkShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.DarkShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.DarkShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.DarkShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1072,10 +1072,10 @@ function Auxiliary.WaterShadoll_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WaterShadoll_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WaterShadoll_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterShadoll_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WaterShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WaterShadoll_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1101,10 +1101,10 @@ function Auxiliary.FireInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.FireInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.FireInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.FireInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.FireInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.FireInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.FireInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1130,10 +1130,10 @@ function Auxiliary.WindInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WindInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WindInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WindInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WindInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WindInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WindInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1159,10 +1159,10 @@ function Auxiliary.EarthInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.EarthInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.EarthInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.EarthInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.EarthInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.EarthInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1188,10 +1188,10 @@ function Auxiliary.LightInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.LightInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.LightInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.LightInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.LightInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.LightInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.LightInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1217,10 +1217,10 @@ function Auxiliary.DarkInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.DarkInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.DarkInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.DarkInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.DarkInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.DarkInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1246,10 +1246,10 @@ function Auxiliary.WaterInvoke_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.WaterInvoke_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.WaterInvoke_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.WaterInvoke_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.WaterInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.WaterInvoke_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1275,10 +1275,10 @@ function Auxiliary.InvokeBoss_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.InvokeBoss_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.InvokeBoss_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.InvokeBoss_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.InvokeBoss_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.InvokeBoss_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.InvokeBoss_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1304,10 +1304,10 @@ function Auxiliary.FusionDragon_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.FusionDragon_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.FusionDragon_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.FusionDragon_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.FusionDragon_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.FusionDragon_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.FusionDragon_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1333,10 +1333,10 @@ function Auxiliary.PhantomHero_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.PhantomHero_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.PhantomHero_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.PhantomHero_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.PhantomHero_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.PhantomHero_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.PhantomHero_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1362,10 +1362,10 @@ function Auxiliary.PPlant_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.PPlant_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.PPlant_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.PPlant_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.PPlant_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.PPlant_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.PPlant_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......@@ -1391,10 +1391,10 @@ function Auxiliary.DH_Condition(e,c)
return Duel.IsExistingMatchingCard(Auxiliary.DH_spfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,c)
end
function Auxiliary.DH_Operation(e,tp,eg,ep,ev,re,r,rp,c)
local g1=Duel.GetMatchingGroup(Auxiliary.DH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local g1=Duel.GetMatchingGroup(Auxiliary.DH_spfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g1:Select(tp,1,1,nil)
local g2=Duel.GetMatchingGroup(Auxiliary.DH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,sg:GetFirst())
local g2=Duel.GetMatchingGroup(Auxiliary.DH_spfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,sg:GetFirst(),tp,c,sg:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local c2=g2:Select(tp,1,1,sg:GetFirst())
sg:Merge(c2)
......
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