Skip to content

Commit

Permalink
Update to patch 8.4.0.20022 (#492)
Browse files Browse the repository at this point in the history
* 测试全通过

* 漏了CardDefs.xml

* flake8

* game_action and targeted_action

* dbf

* 上古之神的低语

* 英雄皮肤技能

* 卡拉赞之夜

* 添加了: `Moat_Lurker/沟渠潜伏者`, `Ivory Knight/象牙骑士`, `Prince Malchezaar/玛克扎尔王子`, `Silverware Golem/镀银魔像`
* 详细的修改信息
1. Moat_Lurker, save play target object forever / 沟渠潜伏者, 将会永久存储Target对象
2. Ivory Knight, modify discover action, callback will trigger after choice / 象牙骑士, 修改了发现动作,回调方法将会在选择后触发
3. Prince Malchezaar, add game start action and deck event trigger / 玛克扎尔王子, 增加游戏开始动作以及卡组事件触发
4. Silverware Golem, summon a new minion instead of itself / 镀银魔像, 召回一个新随从而不是其自身

* 龙争虎斗加基森

* Rewrite kazakus. Impl Card description for kazakus potions and jade golem

* 代码格式化

* Jade Golem card description / 青玉魔像卡牌描述

* Add  / 增加深渊魔物

* 部分卡片效果变更, 提升测试稳定性

* 泰兰德英雄技能错误

* 移除部分中文注释

* add collectible args for tests/implemented.py

* 卡片描述中受法强影响

* Standard format

* 勇闯安戈洛: 所有中立卡牌. 实现了进化, 上回合打出元素

* 勇闯安戈洛: 德鲁伊, 猎人, 法师. 实现了任务, 套牌之外, 额外的回合

* 修复沉默Bug

* 恢复部分卡片修改

* github action

* fix tox

* upload coverage

* change badges name

* fix #467

* fix #462

* fix some review bug

* 勇闯安戈洛全卡

---------

Co-authored-by: He Hao <[email protected]>
  • Loading branch information
shinoi2 and He Hao authored Nov 28, 2023
1 parent 58c5c60 commit 51f9126
Show file tree
Hide file tree
Showing 165 changed files with 172,523 additions and 5,074 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
python -m pip install .
- name: Test with tox
run: tox
- uses: codecov/codecov-action@v3
env:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
__pycache__
CardDefs.xml
build
fireplace.egg-info
coverage.xml

*.pyc
.tox
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include fireplace/cards/CardDefs.xml
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# <img src="/logo.png" height="32" width="32"/> Fireplace
[![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/download/releases/3.8.0/)
[![](https://img.shields.io/github/license/jleclanche/fireplace.svg)](https://github.com/jleclanche/fireplace/blob/master/LICENSE.md)
[![codecov.io](https://codecov.io/github/jleclanche/fireplace/coverage.svg?branch=master)](https://codecov.io/github/jleclanche/fireplace)
[![](https://img.shields.io/badge/python-3.10+-blue.svg)](https://peps.python.org/pep-0619/)
[![](https://img.shields.io/github/license/play-boardgames-together/fireplace.svg)](https://github.com/play-boardgames-together/fireplace/blob/master/LICENSE.md)
[![](https://github.com/play-boardgames-together/fireplace/actions/workflows/build.yml/badge.svg?branch=8.4.0.20022)](https://github.com/play-boardgames-together/fireplace/actions/workflows/build.yml)
[![codecov](https://codecov.io/github/play-boardgames-together/fireplace/branch/8.4.0.20022/graph/badge.svg?token=FXDTJSKZL9)](https://codecov.io/github/play-boardgames-together/fireplace/tree/8.4.0.20022)

A Hearthstone simulator and implementation, written in Python.

Expand All @@ -18,7 +19,7 @@ A Hearthstone simulator and implementation, written in Python.

## Documentation

The [Fireplace Wiki](https://github.com/jleclanche/fireplace/wiki) is the best
The [Fireplace Wiki](https://github.com/play-boardgames-together/fireplace/wiki) is the best
source of documentation, along with the actual code.


Expand Down
Loading

0 comments on commit 51f9126

Please sign in to comment.