0 of 0

File information

Last updated

Original upload

Created by

gProletarian

Uploaded by

gProletarian

Virus scan

Safe to use

Tags for this mod

About this mod

调整了装备如意金箍棒/三尖两刃枪/两种大圣套时角色的部分数值。优化识破模组。强化大圣模式。The mod modifies the attributes of the character when equipped with the Ruyi Jingu Bang/ Tri-Point Double Edged Spear / Two Sun Wukong's Armor. Optimized counter attack. Enhanced Wukong's Secret Mode.

Requirements
Permissions and credits
Changelogs
前置
C# Mod Loader
Protobuf Loader
Signature Bypass (非必要,推荐安装)
安装

将b1文件夹拖放至黑猴根目录
例:
...\SteamLibrary\steamapps\common\BlackMythWukong\b1\...

功能概述

数值补正:修改了装备金箍棒/三尖两刃枪/大圣套时角色的基础属性,包括攻击、暴率、暴伤、伤害减免。补正计算公式所用量均为上限值。

优化了金箍棒:为金箍棒增加了一些被动效果,并改动了游戏内显示的文本信息。

优化了棍的识破模组:允许识破/切手技打断轻击,延长GP判定窗口至2s. 劈棍无豆切手技增加GP判定。

强化了大圣模式:大圣模式亦优化识破,同上。基础持续时长延长至3mins. 按照测试,神铁碎片可将时长翻倍(即6mins)。允许毛猴复制大圣模式强力招式,包括进入大圣模式时的那一下5豆重棍。

闪身可进入聚形散气:非大圣模式下持续5s,大圣模式下持续12s. 可破隐一击。已知问题:大圣模式下单点轻击可能无法触发破隐一击,可以跳跃后轻击。

优化了铜头铁臂:铜头铁臂基础持续时长延长(具体数值我记不清了,没点铜头铁臂时长天赋的情况下应该是15s,点了以后增长至60s)。受击时若镜头震荡(即转震/完美弹刀),可维持铜头铁臂状态60s,期间可持续弹刀,但不屏蔽输入(即轻击、移动、翻滚等均可解除铜头铁臂状态)。已知问题:连战六根一性二郎神时,调用的资源可能有变化,转震无法正常维持铜头铁臂。

快捷键变身:F1变身金蝉,F2变身狐狸。这两种变身下均拥有土地庙隐身Buff,但金蝉的隐身比狐狸强、且自带无敌Buff。推荐 Annoying effects be gone ,可以消除金蝉近视特效。

自动闪身:劈棍/戳棍蓄力时受击将自动闪身并保留棍势(灵感来自劈棍天赋化险为夷)。—— 这个功能可以在我的另一个mod ChargingDodge_Cheat 中找到独立实现。可以拿来录视频装逼。

三种增益状态及计算说明
一、手持如意金箍棒 / 三尖两刃枪
攻击补正 = Def * 0.1
暴击率补正 = Hp + Stamina + Mp
暴击伤害补正 = (Hp + Stamina) * 4 + Mp * 2
伤害减免补正 = Hp + Stamina + Mp
二、金箍棒 + 神珍大圣套
攻击补正 = Def * 0.12
暴击率补正 = (Hp + Stamina) * 3 + Mp * 2
暴击伤害补正 = (Hp + Stamina) * 7 + Mp * 5
伤害减免补正 = (Hp + Stamina) * 2 + Mp
三、金箍棒 + 凡品大圣套
攻击补正 = Def * 0.15 (我测得的 "混铁棍" 防转攻比率)
暴击率补正 = (Hp + Stamina + Mp) * 2
暴击伤害补正 = (Hp + Stamina) * 9 + Mp * 6
伤害减免补正 = (Hp + Stamina + Mp) * 2
注:
- 黑猴基础属性中的比率值上限(此处即为暴率、减伤上限) = 100 * 100 = 10000, 故公式中没有 / 100 等数量级调整。
- Def: 防御
- Hp: 生命
- Stamina: 耐力
- Mp: 法力


识破优化 (不受武器影响)
一、 轻棍取消:允许切手技(识破)打断轻击动作。包括普通模式优化和大圣模式优化。
二、 延长 GP 判定帧窗口:将识破的 GP 判定窗口延长为 2 s 。
三、 为劈棍无豆切手技、立棍切手技、大圣模式所有切手技增加了 GP 判定窗口 。
四、为识破增加时缓效果


大圣套被动效果说明 (不受武器影响) :
一、霸体
黑猴中存在一个疑似未被使用的韧性值 (Tenacity) ,该值默认取0 (且牛魔套强硬效果生效时此值仍为0) . 但更改其数值可以对角色韧性造成影响。据不完整测定,可概述如下:
- tenacity = 1.5, 弱韧性;可以无视黑风山弓箭手远程攻击造成的硬直,小怪重击时出现硬直。
- tenacity = 2.5, 弱霸体;基本可以无视所有小怪的平A硬直/冲击力,不分轻重攻击。
- tenacity = 3.5, 强霸体;白衣重攻击可以造成微弱硬直(时间低于 1s)。
- tenacity >= 5, 霸体;还没找大体型的怪测,但应该足够无视赤髯龙所有攻击的硬直/冲击力。
- 说明:无视冲击力是指角色不失衡,会因为碰撞而发生位移(这种情况可以在劈棍四蓄、敌人向玩家冲过来的时候观察到)。
基于此,
1. 将玩家初始韧性调整为 1.5 (任意装备均生效);
2. 凡品大圣套韧性补正:
- 生命值 > 50% 时,赋予强霸体 Buff (无视受击、投技)
3. 神珍大圣套韧性补正:
- 生命值 > 25% 时,赋予霸体 Buff (无视受击)
二、棍势/回蓝
棍势数据说明
- 1 豆 ~ 100 棍势 (PE Value)
- 2 豆 ~ 210
- 3 豆 ~ 330 
- 4 豆 ~ 480
- 5 豆 ~ 880
- 补充:未解锁 5 豆时,1, 2, 3, 4 豆所需棍势均减少 10 点(即低周目时;高周目不装备大圣套依然提升所需棍势)。我手头只有2/4周目两个档,没有测其它情况,这个数据差异是偶然发现的。
金箍棒
- 定海神针:第四段棍势可永久维持,不再随时间减削
- 行者之心:疾奔时,随时间缓慢获得棍势
- 斗战胜佛之器:识破对手攻击后,短时间内不断获得棍势
- 允许积攒棍势至5豆;打出后进入大圣模式。大圣模式的持续时间延长至 3 mins . 

为两种大圣套新增一个标志类参数
- 可命名为 "战斗热情" (peFlags),依棍势的 5 颗豆分为 6 级。
- 1 ~ 5 级战斗热情分别在棍势达到相应豆数时激活、低于次级豆数时沉默。例如:3 战斗热情从达到 3 豆时起激活,棍势低于 2 豆时被沉默。
- 6 级热情在保持 5 级热情并三度达到 5 豆时激活。—— 即除去激活 5 级热情的那次 5 豆,必须两次通过劈棍识破降低棍势(满足维持于 4 豆以上这项条件)并将棍势积攒至 5 豆。

回蓝及其它增益效果
- 2 级热情激活时达到 2 豆,恢复 10 点 Mp;
- 达到 3 豆,恢复 10 点 Mp;
- 无 4 级热情时达到 4 豆,恢复 20 点 Mp;有 4 级热情时达到 4 豆,恢复 60 点 Mp;
- 无 5 级热情时,棍势值达到 520 ,立即补满至 5 豆棍势,恢复 120 点 Mp;获得 15 s 无敌帧。
- 激活 6 级热情后,按是否拥有禁字诀特征 Buff 提供两种增益,并沉默 6 级热情:
1. 未使用禁字诀,调用一次土地庙调息 Buff,回生命、回法力、回葫芦、回气力、清除技能 CD;
2. 已使用禁字诀,先调用一次土地庙调息 Buff,然后移除禁字诀效果,恢复变身、化身、法宝能量,调用登仙散一段时间不消耗气力 Buff,再次清除法力值、气力值并提供禁字诀加伤 Buff (此时未禁用法术、化身技) 。——注意:变身技会删除、重建天命人模型,即变回后会失去此处的禁字诀 Buff .

三、护盾 (已删除)
护盾值本身应该对玩家不启用,我估计这就是一些敌人的白色护盾条数值。

版本说明攻击取消 ⊂ 更好的识破 ⊂ 主文件;
一、主文件含有全部特征。(其它可选版本尚未更新,目前仅主文件可用。)
二、更好的识破,识破窗口为 2 s ,切手技可取消轻击;由于大圣模式切手技的 GP 窗口是在 .data 文件中修改的,单独提取有点麻烦,所以包含主文件的一些被动效果(如金箍棒棍势词条等);
三、攻击取消,切手技可取消轻击(含大圣模式),识破窗口原生,小型插件。

Bug及潜在冲突:Mod的部分逻辑采用C#重写,以下问题基本均已解决。(技术细节见置顶帖)
一、检测函数有25s启动延迟,用于避免一些意外错误(如进入游戏时的一段时间里实例尚未创建,如果不设置延迟,函数会直接返回)。因此每次进入游戏后需要等待半分钟左右。与此类似的情况有:
1. 进/出隐藏地图时(需要重新加载角色模型及控制器);
2. 使用变身/退出变身时(退出变身后约 24 s 会重新加载数值补正)

二、由于不清楚在 .lua 文件中获取披挂id/基础数据的方法,因此获取数值函数设置了延迟,用于等待系统内部完成一部分更换披挂时的基础属性数值调整(即原版游戏切换装备时的一系列差量调整)。从而,更换装备——特别是武器——时,应尽量避免频繁相互切换。每次更换的间隔时间最好保持在 2s 及以上。频繁切武器会导致数据读取异常、并显著影响mod所涉及调整的属性数值。
三、基于同样的原因,本mod通过查找所调用的模型资源字符名称实现披挂检测(如金箍棒对应 "SK_Wukong_DaSheng" ),故可能与改变了相应名称的外观类mod冲突。
四、由于 UE4SS 目前无法获取很多黑猴的数据,且 Lua 无法挂载主线程、容易造成闪退,因此被动效果通过修改 .pak 实现。可能与其它 .pak mod 冲突。
- 小结(旧版本):
- 加载时报错崩溃指 "继续游戏" "返回标题页" "返回桌面" 以及进入/退出隐藏地图时ue4ss报错且mod崩溃 (Fatal Error),无视报错的话可以继续玩但mod会失灵;需要重进游戏
- 无报错崩溃就是直接闪退。最新版主文件有一定概率在剧情动画结束后的加载时直接导致游戏崩溃。

五、Mod 无效果。
可能是加载时间超过了Mod所设置的启动延迟、且自动延长延迟时间的函数由于与 "四、" 类似的问题而无法正常工作,可以尝试自行在main.lua文件中修改。方法:
1. 使用任一文本编辑器打开main.lua (可用记事本,推荐Notepad++、VS Code等可语法高亮的软件) ; 
2. 搜索 "RegisterHook" ; 
3. 修改 checkInterval (= 2.5s) 的乘数,原文件中是 "* 10" , 自行更改。例如,修改为 14, 则 2.5 * 14 = 30s ; 
4. Ctrl + S 保存文件。

推荐Mod
大圣语言包
肉鸽模式
挑战模式
全图筋斗云
翻滚优化

Prerequisite:
C# Mod Loader
Protobuf Loader
Signature Bypass (Not Necessary, but recommended)
Installation
Drag and drop the b1 folder into the root directory of Black Monkey.
Example:
...\SteamLibrary\steamapps\common\BlackMythWukong\b1\...

Overview of the mod's functions:

Modified Base Attributes: Adjusted the character's base attributes when equipped with the Ruyi Jingu Bang, Tri-Point Double Edged Spear, or Wukong's Armor, including Attack, Critical Rate, Critical Damage, and Damage Reduction. The correction formulas utilize the maximum values for these attributes.

Optimized the Ruyi Jingubang: Added some passive effects to the Jingubang and changed the text information displayed in-game.

Optimized Stick’s Counter Attack Module: Enhanced the stick's Counter Attack module to allow Counter Attack to interrupt light attacks. Extended the GP Judgment Window to 2 seconds. Added GP Judgment to the Smash Stance when counter attack without focus.

Enhanced Wukong’s Secret Mode: Improved Wukong’s Secret Mode by optimizing the Counter Attack functionality as mentioned above. Extended the base duration of Wukong’s Secret Mode to 3 minutes. Based on testing, using Shen Tie Fragments can double the duration to 6 minutes. Enabled Fur Monkeys to replicate powerful moves in Wukong’s Secret Mode, including the initial heavy stick strike that consumes 5 beans upon entering Wukong’s Secret Mode.

Precise Dodge transits into Cloud Step: In Normal Stance, lasts for 5 seconds. In Wukong’s Secret Stance, lasts for 12 seconds. Allows for an Unveiling Strike. Known Issue: In Wukong’s Secret Mode, light attacks might not trigger the unveiling strike. A workaround is to perform a jump followed by a light attack.

Rock Solid Enhancements: Extended Base Duration. I don't remember the precise data, but roughly speaking: Without investing in the Rock Solid Duration Talent, the base duration is 15 seconds. With the talent, the duration increases to 60 seconds. 

    • Maintaining Rock Solid State:
      • When the character is hit and experiences camera shake (i.e., Rotation Shock or Perfect Parry), the Rock Solid state can be maintained for 60 seconds. During this period: Parrying can continue. Inputs are not blocked, meaning actions like light attacks, movement, and rolling can cancel the Rock Solid state.
    • Known Issue: When engaging the Er Lang Shen of Relic Holders, resource allocation may vary, preventing Rotation Shock from properly maintaining the Rock Solid state.

Shortcut key transformation: F1 turns into a Golden Cicada,F2 turns into a Fox. Both have the shrine stealth Buff, but the Golden Cicada's stealth is stronger than the fox and has its own invincible Buff. Recommend Annoying effects be gone, which can eliminate the Golden Cicada's myopic effects.

Auto-Dodge during charging: During Smash/Thrust Stance Charging, Auto-Precise Dodge if hitten and Remain focus (Inspired by a talent of Smash Stance, Peace from Peril). -- This feature can be found in my other mod ChargingDodge_Cheat as a standalone implementation. It can be used to record videos and pretend to be pro.

Three Buff States and Calculation Explanations:
1. Holding the Ruyi Jingu Bang(Golden Cudgel)
Attack Correction: Def * 0.1
Critical Rate Correction: Hp + Stamina + Mp
Critical Damage Correction: (Hp + Stamina) * 4 + Mp * 2
Damage Reduction Correction: Hp + Stamina + Mp
2. Jingu Bang(Golden Cudgel) + DaShengTao(Divine Great Sage Set)
Attack Correction: Def * 0.12
Critical Rate Correction: (Hp + Stamina) * 3 + Mp * 2
Critical Damage Correction: (Hp + Stamina) * 7 + Mp * 5
Damage Reduction Correction: (Hp + Stamina) * 2 + Mp
3. Jingu Bang(Golden Cudgel) + DaShengKuiJia(Mortal Great Sage Set)
Attack Correction: Def * 0.15 (Based on my testing, this is the defense-to-attack ratio of "Dark Iron Staff" )
Critical Rate Correction: (Hp + Stamina + Mp) * 2
Critical Damage Correction: (Hp + Stamina) * 9 + Mp * 6
Damage Reduction Correction: (Hp + Stamina + Mp) * 2
Note:
- The upper limit of ratio values for the base attributes of BMW (specifically critical rate and damage reduction in this context) is 100 * 100 = 10000, 
  so there is no need for adjustments by dividing by 100 or so in the formulas.


Guard Attack Optimization (not affected by weapons):
  • Light Attack Cancellation: Allow Counter Attacks to interrupt light attack. Including Normal Stances & Wukong's Secret Stance.
  • Extended GP Judgment Frame Window: Extends the GP (Guard Point) judgment frame window for guard attack to 2 seconds.
  • Added GP Judgment Window for No Focus Smash Stance's, Pillar Stance's and All Wukong Secret's Counter Attacks.
  • Added Timescale effect for counter attack.



Description of the Passive Effects of Sun Wukong's Armor or Monkey King Set (Unaffected by Weapon) :

I. Tenacity

There is a suspected unused Tenacity value (Poise/Tenacity) within the Black Monkey. This value defaults to 0 (and remains 0 even when the Bull King Set’s hardness effect is active). However, adjusting this value can influence the character's tenacity. Based on incomplete measurements, the following can be summarized:
Tenacity = 1.5, Low Tenacity: Can ignore the stagger caused by the Black Wind Mountain archer's ranged attacks, but staggers under heavy attacks from regular enemies.

Tenacity = 2.5, Weak Super Armor: Can mostly ignore the stagger/impact of all normal attacks from small enemies, regardless of light or heavy attacks.

Tenacity = 3.5, Strong Super Armor: White-clad heavy attacks cause minor stagger (duration less than 1 second).

Tenacity ≥ 5, Full Super Armor: Not yet tested against large enemies, but should be sufficient to ignore the stagger/impact of all attacks from the Red-Bearded Dragon.

Note: Ignoring impact means the character does not lose balance but may be displaced due to collision (this can be observed during a fully charged staff swing while an enemy charges at the player).

a. Adjust the player’s initial tenacity to 1.5 (effective with any equipment);
b. Tenacity adjustment for the Mortal Sun Wukong Set:
- When HP > 50%, grant Strong - Super Armor Buff (ignore hits and throws)
c. Tenacity adjustment for the Mythical Sun Wukong Set:
- When HP > 25%, grant Super Armor Buff (ignore hits)

II. Focus/MP Regeneration

Focus Data Explanation:
1bean ~ 100 Focus (PE Value)
2 beans ~ 210
3 beans ~ 330
4 beans ~ 480
5 beans ~ 880
Supplement: When the 5-segment Focus is not unlocked, the required Focus for 1, 2, 3, and 4 segments is reduced by 10 points (applicable in early game cycles; in later cycles, the required Focus increases even if the Sun Wukong Set is not equipped). I only have saves from 2nd and 4th cycles, so I haven't tested other scenarios. This difference in data was discovered by chance.


Jingu Bang (Golden Cudgel) :
a. Ocean Stabilizing Divine Needle: The gauge of the 4th Focus Point no longer depletes over time
b. Heart of the Pilgrim: Gradually gain Focus while sprinting
c. Victorious Fighting Buddha's Weapon: After successful counter attack, continuously gain Focus for a short period
d. It is allowed to accumulate focus to 5 beans, and get into Wukong's Secret Stance by attack. Duration of WSS is extended to 3 mins. 


Add a new flag-type parameter for both Sun Wukong Sets:
- Can be named "Combat Enthusiasm" (peFlags), divided into 6 levels based on the 5 beans of Focus.

- Levels 1-5 of Combat Enthusiasm are activated when Focus reaches the corresponding bean count and deactivated when below the next lower bean count. For example: Level 3 enthusiasm activates when 3 beans are reached and is silenced when Focus drops below 2 beans.

- Level 6 enthusiasm activates when maintaining level 5 enthusiasm and reaching 5 beans three times. — That is, excluding the 5 beans that activated level 5 enthusiasm, you must reduce Focus Twice through vertical staff strike guard attacks (satisfying the condition of maintaining above 4 beans) and accumulate Focus to 5 beans.
 
MP regeneration and other enhancement effects:
a. When level 2 enthusiasm is activated and 2 beans are reached, restore 10 MP

b. When 3 beans are reached, restore 10 MP

c. Without level 4 enthusiasm, reaching 4 beans restores 20 MP; with level 4 enthusiasm, reaching 4 beans restores 60 MP

d. Without level 5 enthusiasm, reaching 5 beans restores 120 MP; Get 30s invincible frames

e. After activating level 6 enthusiasm, provide two enhancements based on whether the Forbidden Spell Buff is present, and then silence level 6 enthusiasm:

1. Without using Spell Binder, invoke the Earth God Temple recovery Buff once, restoring life, MP, gourd, and stamina, and clearing skill cooldowns

2. With Spell Binder used, first invoke the Earth God Temple recovery Buff, then remove the Forbidden Spell effect, restore transformation, incarnation, and magical weapon energy, invoke the Ascension Powder Buff for a period of no stamina consumption, clear MP and stamina values again, and provide the Spell Binder damage increase Buff (at this time, spells and incarnation skills are not disabled). — Note: The transformation skill will delete and rebuild the Destiny's model, meaning the Spell Binder Buff gained here will be lost after transforming back.

III. Shield (Has Removed)
 
The Shield valueitself should not be activated for the player; I suspect this is the value of the white shield bar for some enemies.


Version Notes: Cancellable Attack ⊂ Better Guard Attack ⊂ Main File
  • The main file contains all features. (The Optional Files are outdated now, only Main File is usable.)
  • Better Guard Attack: The guard attack window is 2s, and guard attack can cancel light attacks. Since the GP window of the Wukong Secret's Counter Attack is added through the .data file, it is a bit cumbersome to extract it separately, so it contains some passive effects of the main file (such as the Jingu Bang Focus entry, etc.)
  • Attack Cancellation: Guard attack can cancel light attacks(Including Wukong's Secret Stance), the guard attack window is original (unmodified). This is a small plugin.

Bugs and Potential Conflicts: Some of the logic of the mod was rewritten in C#, and the following issues have been basically solved. (See Sticky Post for tech details)
1. The detection function has a 25-second startup delay to avoid certain unexpected errors (e.g., if instances haven’t been created during the initial phase of entering the game, the function would return immediately if no delay was set). Therefore, after entering the game, you need to wait for about half a minute. Similar situations are:

1. When entering/exiting a hidden map (requires reloading the character model and controllers);

2. When using Transformation/Exit Transformation (The value correction will be reloaded about 24 s after exiting Transformation)


2. Since the method to obtain the equipped item's ID/Base Data in the .lua file is unclear for me, the value retrieval function has a delay set to allow the system to complete one step of the adjustment of base attribute values first when changing equipment (this refers to the series of differential adjustments when switching equipment in the vanilla game). As a result, when switching equipment—especially weapons—, frequent swapping should be avoided. The interval between each change should ideally be kept at 2 second or more. Frequent switching of weapons will cause abnormal data readings and significantly affect the attribute values involved in this mod.

3. For the same reason, this mod detects equipment by searching for the model resource character name (e.g., the Jingu Bang corresponds to "SK_Wukong_DaSheng"), which may conflict with appearance mods that change the corresponding names.

4. Since UE4SS is currently unable to obtain a lot of black monkey's data, and Lua's inability to mount the main thread is prone to flash back, passive effects implemented by modifying .pak; may conflict with other .pak mods.
Summary:
Crash on Loading: The crashes during loading refer to instances where errors occur when selecting "Continue Game," "Return to Title," "Return to Desktop," or when entering/exiting hidden maps. These crashes are typically accompanied by a UE4SS error and mod crash (Fatal Error). If you ignore the error, you can continue playing, but the mod will stop functioning, requiring a game restart
- Crash Without Error: This refers to sudden crashes to the desktop without any error messages. There is a high probability that the latest moderator file will crash the game directly when it is loaded after the end of the story animation. This bug is still being fixed.

5. Mod Not Working: 
This issue might occur if the loading time exceeds the mod's configured startup delay, and the function designed to automatically extend the delay is not working properly due to similar issues mentioned in section IV. You can try manually adjusting this in the main.lua file. Here’s how:
a. Open the main.lua file using any text editor (you can use Notepad, but software with syntax highlighting like Notepad++ or VS Code is recommended).
b. Search for "RegisterHook".
c. Modify the multiplier for checkInterval (default is = 2.5s). In the original file, it is * 10. You can change this value as needed. For example, if you change it to 14, it will extend the delay to 2.5 * 14 = 30s.
d. Press Ctrl + S to save the file.

Recommended Mod
Da Sheng Voice
Rogue Mode
Challenge Mode
Somersault Cloud Anywhere

Better Dodge