updated comment
This commit is contained in:
parent
9e5d417acd
commit
69a6647a5a
@ -4,12 +4,12 @@ local playermatApi = require("playermat/PlayermatApi")
|
|||||||
function onLoad()
|
function onLoad()
|
||||||
-- get class via metadata and proceed menu accordingly:
|
-- get class via metadata and proceed menu accordingly:
|
||||||
-- lvl 0: draw 1 card from the bottom
|
-- 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 buttonLabel = "Draw bottom card"
|
||||||
local amount = 1
|
local amount = 1
|
||||||
local notes = JSON.decode(self.getGMNotes())
|
local notes = JSON.decode(self.getGMNotes())
|
||||||
if notes.id == "05188" or notes.id == "05188-t" then
|
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)"
|
buttonLabel = buttonLabel .. "(s)"
|
||||||
amount = 3
|
amount = 3
|
||||||
end
|
end
|
||||||
@ -34,7 +34,7 @@ function contextFunc(playerColor, amount)
|
|||||||
|
|
||||||
if deckAreaObjects.draw or deckAreaObjects.topCard then
|
if deckAreaObjects.draw or deckAreaObjects.topCard then
|
||||||
local playerName = Player[color].steam_name
|
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
|
-- figure out a proper display name for the drop down menu
|
||||||
local displayName
|
local displayName
|
||||||
|
Loading…
Reference in New Issue
Block a user