fixed area size to detect top card
This commit is contained in:
parent
b94bdc8e33
commit
838aa5234b
@ -68,7 +68,7 @@ local DECK_DISCARD_AREA = {
|
||||
},
|
||||
size = {
|
||||
x = 0.4,
|
||||
y = 0.1,
|
||||
y = 1,
|
||||
z = 1.1
|
||||
}
|
||||
}
|
||||
@ -425,10 +425,13 @@ function drawCardsWithReshuffle(numCards)
|
||||
-- Norman Withers handling
|
||||
if string.match(activeInvestigatorId, "%d%d%d%d%d") == "08004" then
|
||||
local harbinger = false
|
||||
if topCard ~= nil and topCard.getName() == "The Harbinger" then harbinger = true
|
||||
if topCard ~= nil and topCard.getName() == "The Harbinger" then
|
||||
harbinger = true
|
||||
elseif drawDeck ~= nil and not drawDeck.is_face_down then
|
||||
local cards = drawDeck.getObjects()
|
||||
if cards[#cards].name == "The Harbinger" then harbinger = true end
|
||||
if cards[#cards].name == "The Harbinger" then
|
||||
harbinger = true
|
||||
end
|
||||
end
|
||||
|
||||
if harbinger then
|
||||
|
Loading…
Reference in New Issue
Block a user