Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lgc2333 committed Oct 10, 2023
1 parent b7cf267 commit be50fdc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,17 @@ Telegram:[@lgc2333](https://t.me/lgc2333)

## 📝 更新日志

### 0.9.4
### 0.9.5

- 修复了三星爆率过高的 bug ([#47](https://github.com/lgc-NB2Dev/nonebot-plugin-bawiki/pull/47))
- 抽卡总结图现在有半透明和圆角了

<details>
<summary><strong>历史更新日志(点击展开)</strong></summary>

### 0.9.4

- 修复了三星爆率过高的 bug ([#47](https://github.com/lgc-NB2Dev/nonebot-plugin-bawiki/pull/47))

### 0.9.3

- 微调 `ba日程表` 指令:GameKee 源的日程表现在可以分服务器展示了,顺便修复了 SchaleDB 源日程的 Bug,详见指令帮助
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_bawiki/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .config import Cfg as Cfg # noqa: E402
from .help import extra, register_help_cmd, usage # noqa: E402

__version__ = "0.9.4"
__version__ = "0.9.5"
__plugin_meta__ = PluginMetadata(
name="BAWiki",
description="碧蓝档案Wiki插件",
Expand Down
9 changes: 7 additions & 2 deletions nonebot_plugin_bawiki/data/gacha.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,15 @@ def gen_regular() -> BuildImage:
fill="#ffffff",
halign="left",
)
.paste(important_img, (padding, banner_h + padding))
.paste(
regular_img,
important_img.circle_corner(10),
(padding, banner_h + padding),
alpha=True,
)
.paste(
regular_img.circle_corner(10),
(padding, banner_h + padding + important_img.height + padding),
alpha=True,
)
)

Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_bawiki/data/gamekee.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async def draw(it: dict):
img.paste(desc_p, (60, ii), alpha=True)
ii += desc_p.height + 25
img.paste(remain_p, (60, ii), alpha=True)
return img.circle_corner(15)
return img

def draw_list(li: List[BuildImage], title: str) -> BuildImage:
bg_w = 1500
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nonebot-plugin-bawiki"
version = "0.9.4"
version = "0.9.5"
description = "A nonebot2 plugin for Blue Archive."
authors = [{ name = "student_2333", email = "lgc2333@126.com" }]
dependencies = [
Expand Down

0 comments on commit be50fdc

Please sign in to comment.