merge main
This commit is contained in:
parent
d81d395f2e
commit
226e7be0fa
@ -2060,9 +2060,14 @@ function TokenManager.spawnMultipleTokens(card, tokenType, tokenCount, shiftDown
|
||||
if tokenType == "resource" and stateID ~= nil and stateID ~= 1 then
|
||||
callback = function(spawned) spawned.setState(stateID) end
|
||||
elseif tokenType == "universalActionAbility" then
|
||||
local matColor = playermatApi.getMatColorByPosition(card.getPosition())
|
||||
local class = playermatApi.returnInvestigatorClass(matColor)
|
||||
callback = function(spawned) spawned.call("updateClassAndSymbol", { class = class, symbol = subType or class }) end
|
||||
callback = function(spawned)
|
||||
local matColor = playermatApi.getMatColorByPosition(card.getPosition())
|
||||
local activeInvestigatorData = playermatApi.getActiveInvestigatorData(matColor)
|
||||
spawned.call("updateClassAndSymbol", {
|
||||
class = activeInvestigatorData.class,
|
||||
symbol = subType or activeInvestigatorData.class
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
for i = 1, tokenCount do
|
||||
|
Loading…
x
Reference in New Issue
Block a user