Commit 2717b33f authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-core

parents 2d486e69 2d2e322d
name: Automated Test Build name: Automated Test Build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: [ "master" ] branches: [ "master" ]
...@@ -18,7 +22,7 @@ jobs: ...@@ -18,7 +22,7 @@ jobs:
- name: Download lua - name: Download lua
id: lua id: lua
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@f5fef0ebfbee835266c4a7ae6f173d74a33980da # v1.0.0
with: with:
url: https://www.lua.org/ftp/lua-5.4.8.tar.gz url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
...@@ -29,7 +33,7 @@ jobs: ...@@ -29,7 +33,7 @@ jobs:
- name: Download premake - name: Download premake
id: premake id: premake
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@f5fef0ebfbee835266c4a7ae6f173d74a33980da
with: with:
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-windows.zip url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-windows.zip
...@@ -62,7 +66,7 @@ jobs: ...@@ -62,7 +66,7 @@ jobs:
- name: GitHub Release - name: GitHub Release
if: github.event_name == 'push' if: github.event_name == 'push'
uses: salix5/action-automatic-releases@node20 uses: salix5/action-automatic-releases@e0545bc14e9677f38aa573f1a52563022f987356 # node24
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest" automatic_release_tag: "latest"
...@@ -87,7 +91,7 @@ jobs: ...@@ -87,7 +91,7 @@ jobs:
- name: Download lua - name: Download lua
id: lua id: lua
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@f5fef0ebfbee835266c4a7ae6f173d74a33980da
with: with:
url: https://www.lua.org/ftp/lua-5.4.8.tar.gz url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
...@@ -98,7 +102,7 @@ jobs: ...@@ -98,7 +102,7 @@ jobs:
- name: Download premake - name: Download premake
id: premake id: premake
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@f5fef0ebfbee835266c4a7ae6f173d74a33980da
with: with:
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-linux.tar.gz url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-linux.tar.gz
......
...@@ -4162,6 +4162,7 @@ int32_t field::add_chain(uint16_t step) { ...@@ -4162,6 +4162,7 @@ int32_t field::add_chain(uint16_t step) {
clit.triggering_effect = peffect; clit.triggering_effect = peffect;
clit.evt = ch.evt; clit.evt = ch.evt;
phandler->create_relation(clit); phandler->create_relation(clit);
peffect->set_active_type();
peffect->dec_count(playerid); peffect->dec_count(playerid);
if(!(peffect->type & EFFECT_TYPE_ACTIVATE)) { if(!(peffect->type & EFFECT_TYPE_ACTIVATE)) {
peffect->type |= EFFECT_TYPE_ACTIVATE; peffect->type |= EFFECT_TYPE_ACTIVATE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment