Commit 64d5bb3d authored by Nemo Ma's avatar Nemo Ma

Update stickers.lua

parent 24d47f97
...@@ -75,6 +75,7 @@ function Card.GetAllStickers(c) ...@@ -75,6 +75,7 @@ function Card.GetAllStickers(c)
return stickers return stickers
end end
function Card.GetStickerCount(c,sticker) function Card.GetStickerCount(c,sticker)
if not c:GetFlagEffect(STICKER_FLAG) then return 0 end
if not sticker then if not sticker then
return c:GetFlagEffect(STICKER_FLAG) return c:GetFlagEffect(STICKER_FLAG)
else else
...@@ -88,6 +89,7 @@ function Card.GetStickerCount(c,sticker) ...@@ -88,6 +89,7 @@ function Card.GetStickerCount(c,sticker)
end end
end end
function Duel.GetStickerCountOnPlayer(p,sticker) function Duel.GetStickerCountOnPlayer(p,sticker)
if not Duel.GetFlagEffect(STICKER_FLAG) then return 0 end
if not sticker then if not sticker then
return Duel.GetFlagEffect(STICKER_FLAG) return Duel.GetFlagEffect(STICKER_FLAG)
else else
......
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