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

Update stickers.lua

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