Compare commits
3 Commits
p3.9.1
...
patches_3.
Author | SHA1 | Date | |
---|---|---|---|
cbd207c734 | |||
72e833a99e | |||
0331bd861b |
25
.github/workflows/build-mod.yml
vendored
25
.github/workflows/build-mod.yml
vendored
@ -1,11 +1,8 @@
|
||||
name: build-mod
|
||||
on:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
pull_request:
|
||||
|
||||
permissions: read-all
|
||||
push:
|
||||
tags:
|
||||
- "p*"
|
||||
|
||||
jobs:
|
||||
build-the-mod:
|
||||
@ -14,5 +11,17 @@ jobs:
|
||||
contents: write
|
||||
actions: read
|
||||
steps:
|
||||
- uses: argonui/TTSModManager.action@v1.0.0
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- run: wget https://github.com/argonui/TTSModManager/releases/download/v1.2.1/TTSModManager-Linux
|
||||
shell: bash
|
||||
- run: chmod +x TTSModManager-Linux
|
||||
shell: bash
|
||||
- run: ./TTSModManager-Linux -moddir="./" -modfile="./SCED ${{ github.ref_name }}.json"
|
||||
shell: bash
|
||||
- name: Create Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
env:
|
||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||
with:
|
||||
files: "SCED ${{ github.ref_name }}.json"
|
||||
name: "Patched ${{ github.ref_name }}"
|
||||
|
@ -180,7 +180,7 @@ end
|
||||
|
||||
-- draw the provided card to the requesting playermat
|
||||
function actualEncounterCardDraw(card, params)
|
||||
card.deal(1, params.mat.matColor)
|
||||
card.deal(1, params.matColor)
|
||||
end
|
||||
|
||||
-- gets the discard pile and shuffles it into the encounter deck
|
||||
|
@ -977,7 +977,7 @@ function maybeUpdateActiveInvestigator(card)
|
||||
|
||||
-- spawn three regular action tokens (investigator specific one in the bottom spot)
|
||||
for i = 1, 3 do
|
||||
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -0.28)):add(Vector(0, 0.2, 0))
|
||||
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -1.13)):add(Vector(0, 0.2, 0))
|
||||
|
||||
tokenManager.spawnToken(pos, "universalActionAbility", self.getRotation(),
|
||||
function(spawned)
|
||||
@ -990,8 +990,8 @@ function maybeUpdateActiveInvestigator(card)
|
||||
-- local positions
|
||||
local tokenSpawnPos = {
|
||||
action = {
|
||||
Vector(-0.86, 0, -0.28), -- left of the regular three actions
|
||||
Vector(-1.54, 0, -0.28), -- right of the regular three actions
|
||||
Vector(-0.86, 0, -1.13), -- left of the regular three actions
|
||||
Vector(-1.54, 0, -1.13), -- right of the regular three actions
|
||||
},
|
||||
ability = {
|
||||
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
|
||||
|
Loading…
Reference in New Issue
Block a user