added Blursed icon slot for Occult Reliquary dropping
This commit is contained in:
parent
9806cd5bcb
commit
64a7509500
@ -121,7 +121,8 @@ local slotNameToChar = {
|
|||||||
["Hand (right)"] = "M",
|
["Hand (right)"] = "M",
|
||||||
["Hand (left)"] = "M",
|
["Hand (left)"] = "M",
|
||||||
["Hand x2"] = "N",
|
["Hand x2"] = "N",
|
||||||
["Tarot"] = "A"
|
["Tarot"] = "A",
|
||||||
|
["Blursed"] = "zy"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- slot symbol for the respective slot (from top left to bottom right) - intentionally global!
|
-- slot symbol for the respective slot (from top left to bottom right) - intentionally global!
|
||||||
@ -773,7 +774,7 @@ function createXML()
|
|||||||
raycastTarget = "false", -- this disables the click function temporarily
|
raycastTarget = "false", -- this disables the click function temporarily
|
||||||
onClick = "slotClickFunction",
|
onClick = "slotClickFunction",
|
||||||
scale = "0.1 0.1 1",
|
scale = "0.1 0.1 1",
|
||||||
width = "175",
|
width = "350",
|
||||||
height = "175",
|
height = "175",
|
||||||
position = x .. " " .. y .. " -11"
|
position = x .. " " .. y .. " -11"
|
||||||
},
|
},
|
||||||
@ -1280,10 +1281,12 @@ function onCollisionEnter(collisionInfo)
|
|||||||
-- main uses spawning
|
-- main uses spawning
|
||||||
if inArea(localCardPos, MAIN_PLAY_AREA) and (md.type == "Asset" or md.type == "Event") then
|
if inArea(localCardPos, MAIN_PLAY_AREA) and (md.type == "Asset" or md.type == "Event") then
|
||||||
spawnTokensOrShowHelper(object)
|
spawnTokensOrShowHelper(object)
|
||||||
if md.id == "02158" or id == "01694" then
|
if md.id == "02158" or md.id == "01694" then
|
||||||
modifySlot("Ally", localCardPos)
|
modifySlot("Ally", localCardPos)
|
||||||
elseif md.id == "02157" or id == "01695" then
|
elseif md.id == "02157" or md.id == "01695" then
|
||||||
modifySlot("Accessory", localCardPos)
|
modifySlot("Accessory", localCardPos)
|
||||||
|
elseif md.id == "10132" then
|
||||||
|
modifySlot("Blursed", localCardPos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user