Commit b0be3ea6 authored by nanahira's avatar nanahira Committed by GitHub

Fix SPSummonOnceHintTarget to check summon status

parent 95e4e8bf
...@@ -1988,7 +1988,7 @@ function Auxiliary.SPSummonOnceHintCondition(e,tp,eg,ep,ev,re,r,rp) ...@@ -1988,7 +1988,7 @@ function Auxiliary.SPSummonOnceHintCondition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsGlobalFlag(GLOBALFLAG_SPSUMMON_ONCE) return Duel.IsGlobalFlag(GLOBALFLAG_SPSUMMON_ONCE)
end end
function Auxiliary.SPSummonOnceHintTarget(e,c) function Auxiliary.SPSummonOnceHintTarget(e,c)
return c:IsType(TYPE_MONSTER) and c:CheckSPSummonOnce(c:GetControler()) return c:IsType(TYPE_MONSTER) and not c:CheckSPSummonOnce(c:GetControler())
end end
function Auxiliary.SPSummonOnceHintInit(c) function Auxiliary.SPSummonOnceHintInit(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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