白英增强模组

白英增强模组

把白影的「防御 + 重击」替换为游戏原生的切刀技能,并让见切更好用。 eplaces BaiYing's Guard + Heavy (Ice Strike) with the game's native switch-blade skill, plus a friendlier parry window and Shachi recovery.

白影增强 mod / BaiYing Enhanced

把白影的「防御 + 重击」替换为游戏原生的切刀技能,并让见切更好用。

简介

白影的「防御 + 重击」原本是寒冰击。本 mod 会结束寒冰击本体,改为直接激活游戏原生的切刀技能

GA_Hun_BaiYing_SWT_Power,因此动作、伤害、特效、见切分支全部由游戏自己执行,不是模拟。

在此之上提供两项可调增强:

  • 见切判定时长可调(默认 0.5 秒,可设 0 保持原版)
  • 见切成功后,在指定秒数内按每秒指定百分比快速恢复杀气

功能

  • 防御 + 重击 → 原生切刀技能,含原生伤害、粒子与见切派生
  • 见切判定窗口时长可调(改写切刀时间轴上的 GAA_DeflectFrame_C)
  • 见切成功后快速恢复杀气,持续秒数与恢复速度均可调
  • 保留寒冰击的武器 buff
  • 释放限制保持游戏原版(buff 期间不能连续释放)

安装

  1. 安装 UE4SS(需要 3.0 以上,且已能在本作运行)

  2. 完全退出游戏

  3. 把压缩包直接解压到游戏根目录(与游戏 exe 同级),合并/覆盖时选"是"

  4. 解压后会自动形成

    platform\steam\ue4ss\Mods\BaiYingSeeCut\
    
  5. 启动游戏

配置

配置文件:

...\Mods\BaiYingSeeCut\Scripts\config.lua

,改完保存、重启游戏生效。

  • Enabled 总开关
  • UseNativeSWT 使用原生切刀技能(默认 true)
  • AllowSeconds 触发后放行切刀准入的时长(默认 2.5)
  • DeflectWindowSeconds 见切判定时长,秒;0 = 保持原版(约 0.17 秒),默认 0.5
  • KillIceStrike 是否结束寒冰击本体(默认 true)
  • ApplyBuff / BuffSeconds 是否补寒冰击 buff 及其时长(0 = 用原版 5 秒)
  • ShachiRecoverSeconds 见切后快速回气的持续秒数(默认 3.0)
  • ShachiRecoverPercentPerSecond 回气速度,每秒恢复杀气上限的百分比(默认 50)
  • ShachiPerApplication 回气 GE 每次施加恢复的点数(原版为 10,一般不用改)
  • LogEvents 打印日志

验证

打开

PBZ\platform\steam\ue4ss\UE4SS.log

,搜索 BaiYingSeeCut,正常会看到:


[BaiYingSeeCut] 1.0 loaded: nativeSWT=true deflect=0.50s

[BaiYingSeeCut] guard+heavy: native switch attack

[BaiYingSeeCut] swt: activate ok=true

[BaiYingSeeCut] swt: CanActivate forced true

[BaiYingSeeCut] swt deflect Main: 0.1685 -> 0.5

见切成功时:


[BaiYingSeeCut] see-cut success: RTG montage detected

[BaiYingSeeCut] shachi: 50%/s for 3.0s (max=967.6 perStep=5 before=...)

已知限制

  • 释放限制为原版:buff 未消失时不能再次释放
  • 没有 buff 栏图标:游戏 buff 栏由 JS 层驱动,UE4SS Lua 无法接入
  • DeflectWindowSeconds 建议 0.3 ~ 0.8,过大可能让判定窗口超出动作

兼容性

  • 纯 Lua 脚本,不修改游戏 pak,不影响存档
  • 与其它修改白影、或修改切刀技能的 mod 可能冲突

致谢

  • 准入放行思路参考 PBZHeiMoShang(hook K2_CanActivateAbility)
  • 杀气读写与回气思路参考 ChiRenBlade

English

Replaces BaiYing's Guard + Heavy (Ice Strike) with the game's native switch-blade skill, plus a friendlier parry window and Shachi recovery.

Overview

By default, Guard + Heavy on BaiYing casts Ice Strike. This mod ends Ice Strike and activates the game's native

switch-blade ability GA_Hun_BaiYing_SWT_Power instead, so animation, damage, VFX and the successful-parry

branch are all handled by the game itself rather than being simulated.

On top of that, two optional enhancements are configurable:

  • Adjustable parry window (0.5 s by default; set 0 to keep vanilla)
  • Fast Shachi recovery for a configurable duration after a successful parry

Features

  • Guard + Heavy becomes the native switch-blade skill, with native damage, VFX and follow-up
  • Configurable parry window (rewrites GAA_DeflectFrame_C duration on the switch-blade timelines)
  • Configurable Shachi recovery after a successful parry (duration and rate)
  • Keeps the Ice Strike weapon buff
  • Cast restrictions stay vanilla (no recast while the buff is active)

Installation

  1. Install UE4SS (3.0 or newer) and make sure it works with this game

  2. Fully close the game

  3. Extract the archive directly into the game root folder (next to the game exe) and confirm merge/overwrite

  4. The archive already contains

    platform\steam\ue4ss\Mods\BaiYingSeeCut\
    
  5. Launch the game

Configuration

Edit

...\Mods\BaiYingSeeCut\Scripts\config.lua

, save, then restart the game.

  • Enabled master switch
  • UseNativeSWT use the native switch-blade ability (default true)
  • AllowSeconds how long the switch-blade activation gate stays open (default 2.5)
  • DeflectWindowSeconds parry window in seconds; 0 = vanilla (~0.17 s), default 0.5
  • KillIceStrike end Ice Strike itself (default true)
  • ApplyBuff / BuffSeconds re-apply the Ice Strike buff and its duration (0 = vanilla 5 s)
  • ShachiRecoverSeconds recovery duration after a successful parry (default 3.0)
  • ShachiRecoverPercentPerSecond recovery rate, percent of max Shachi per second (default 50)
  • ShachiPerApplication Shachi granted per recovery GE application (vanilla 10; usually leave it)
  • LogEvents verbose logging

Verification

Open

PBZ\platform\steam\ue4ss\UE4SS.log

and search for BaiYingSeeCut:


[BaiYingSeeCut] 1.0 loaded: nativeSWT=true deflect=0.50s

[BaiYingSeeCut] guard+heavy: native switch attack

[BaiYingSeeCut] swt: activate ok=true

[BaiYingSeeCut] swt: CanActivate forced true

[BaiYingSeeCut] swt deflect Main: 0.1685 -> 0.5

On a successful parry:


[BaiYingSeeCut] see-cut success: RTG montage detected

[BaiYingSeeCut] shachi: 50%/s for 3.0s (max=967.6 perStep=5 before=...)

Known limitations

  • Cast restrictions are vanilla: no recast while the buff is active
  • No buff-bar icon: the game's buff bar is driven from the JS layer and is not reachable from UE4SS Lua
  • Keep DeflectWindowSeconds between 0.3 and 0.8; larger values may outlast the animation

Compatibility

  • Pure Lua; no pak edits, no save data changes
  • May conflict with other mods that alter BaiYing or the switch-blade ability

Credits

  • Activation-gate bypass idea inspired by PBZHeiMoShang (hooking K2_CanActivateAbility)
  • Shachi read/write approach informed by ChiRenBlade