Skip to content

Commit

Permalink
docs: 📝 0.1.5更新内容
Browse files Browse the repository at this point in the history
  • Loading branch information
eigeen committed Mar 27, 2024
1 parent 9acc942 commit bc7320a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# 更新日志

## 0.1.5

**特性:**

实现伤害 Trigger

引入钩子,需要在编译时提供条件`hooks`

**重构:**

1. 事件转发系统重构,支持定向转发和广播(旧系统只支持广播)
2. logger 实现优化,打印日志等级和模块名
3. Context 上下文共享模式更改,使用智能指针共享

## 0.1.4

修复 in 和 nin 比较模式总是生效的问题。
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ workspace = { members = ["macros"] }

[package]
name = "more-auto-shoutouts"
version = "0.1.4"
version = "0.1.5"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ MHW 更多定型文mod

## 计划功能

- 双刀鬼人状态
- 斩斧充能
- 延迟触发
- 冷却时间(已实现全局,单trigger待定)
- BUFF获取

# 配置文件
Expand All @@ -69,6 +67,12 @@ MHW 更多定型文mod
3. 拉取MHW前置(本人fork版本内含一个FFI静态库,用于该插件发送日志) [https://github.com/eigeen/MHW-QuestLoader](https://github.com/eigeen/MHW-QuestLoader),编译并获取 `loader.lib``LoaderFFI.lib` 两个静态库
4. 将静态库放在 `more-auto-shoutouts/lib` 目录内
5. 确保当前工作目录包含 `mhw-toolkit``more-auto-shoutouts`
6.`more-auto-shoutouts` 目录内运行 `cargo build --release --features use_logger`
6.`more-auto-shoutouts` 目录内运行 `cargo build --release --features use_logger,hooks`

如果你不需要log功能,则可以忽略 3-4 步,并使用 `cargo build --release` 编译。
如果你不需要log功能,则可以忽略 3-4 步,并使用 `cargo build --release` 编译。

## Features

- `use_logger` 启用log功能:将会静态链接到 `stracker's loader` 的日志输出模块
- `hooks` 启用钩子功能:启用MinHook钩子事件监听,额外增加一些可选配置项
- 钩子功能提供攻击伤害获取,订阅怪物创建和销毁事件

0 comments on commit bc7320a

Please sign in to comment.