Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Warrior] Unhinged's background Mortal Strike cannot proc Master of Warfare

未关闭
#11,982 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cpp
领域
game-dev

调研方向

Start in engine/class_modules/sc_warrior.cpp at the background mortal_strike_t constructor around line 3047 and the Master of Warfare roll around line 3164. Read how background is used by slam_base_t, execute_arms_t, and overpower_t, then determine whether the Unhinged auto-Mortal Strike needs a narrower exception rather than removing the guard broadly. Verify with an Arms warrior simulation that Master of Warfare can proc during Bladestorm without changing other background abilities.

由索引模型根据 Issue 内容生成。

描述

During Bladestorm channeling, the auto-cast Mortal Strike from Unhinged cannot proc Master of Warfare, because:

the Unhinged/background mortal_strike_t constructor sets background = true
the Master of Warfare roll is guarded by !background
Live combat logs show MoW procs during the Bladestorm channel at the same density as outside of it, so the !background guard appears to be too strict for this case.

Code references
engine/class_modules/sc_warrior.cpp (build 1210.01.73a372b):

cpp

// ~line 3047 — background ctor used for Unhinged
mortal_strike_t( util::string_view name, warrior_t* p )
: warrior_attack_t( name, p, p->talents.arms.mortal_strike ),
...
unhinged( true )
{
background = true;
cooldown->duration = 0_s;
proc_slayers_strike = true;
}
cpp

// ~line 3164 — Master of Warfare roll (inside mortal_strike_t)
if ( !background && p()->talents.arms.master_of_warfare_1.ok()
&& !p()->buff.master_of_warfare_proc->up()
&& p()->rng().roll( master_of_warfare_proc_chance * ++p()->master_of_warfare_attempts_since_last_proc ) )
{
p()->buff.master_of_warfare_proc->trigger();
p()->master_of_warfare_attempts_since_last_proc = 0;
}
The same !background guard exists for slam_base_t, execute_arms_t and overpower_t.

Game data

Master of Warfare (1269314) Proc Flags: Yellow Melee
Master of Warfare (1269391) Duration: 15 sec
Attributes: Can Proc From Procs (122)
Can Proc From Procs means proc-generated damage is allowed to trigger this proc, which is consistent with the Unhinged auto-MS being able to roll it.

主要语言
C++
星标
1.6k
派生
789
平均合并
9 小时 46 分钟
30 天内合并 PR
55

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

simulationcraft/simc 的其他 Issue

查看 simulationcraft/simc 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。