updated comment

This commit is contained in:
Chr1Z93 2024-06-27 02:29:12 +02:00
parent 9e5d417acd
commit 69a6647a5a

View File

@ -4,12 +4,12 @@ local playermatApi = require("playermat/PlayermatApi")
function onLoad()
-- get class via metadata and proceed menu accordingly:
-- lvl 0: draw 1 card from the bottom
-- seeker lvl 3: draw 3 cards from the bottom
-- mystic lvl 3: draw 1 card from the bottom
local buttonLabel = "Draw bottom card"
local amount = 1
local notes = JSON.decode(self.getGMNotes())
if notes.id == "05188" or notes.id == "05188-t" then
-- mystic lvl 3: draw 1 card from the bottom
-- seeker lvl 3: draw 3 cards from the bottom
buttonLabel = buttonLabel .. "(s)"
amount = 3
end
@ -34,7 +34,7 @@ function contextFunc(playerColor, amount)
if deckAreaObjects.draw or deckAreaObjects.topCard then
local playerName = Player[color].steam_name
local invName = playmatApi.getInvestigatorName(matColor)
local invName = playermatApi.getInvestigatorName(matColor)
-- figure out a proper display name for the drop down menu
local displayName