Skip to content

Commit

Permalink
fix SilentPride
Browse files Browse the repository at this point in the history
  • Loading branch information
MokhaLeee committed Jan 5, 2025
1 parent d8c2fea commit b705216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wizardry/Core/BattleSys/Source/PreBattleCalc.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ void PreBattleCalcSkills(struct BattleUnit *attacker, struct BattleUnit *defende

#if (defined(SID_SilentPride) && (COMMON_SKILL_VALID(SID_SilentPride)))
case SID_SilentPride:
tmp = k_udiv(attacker->unit.maxHP * 4, attacker->hpInitial);
tmp = k_udiv(attacker->hpInitial * 4, attacker->unit.maxHP);
attacker->battleAttack += SKILL_EFF0(SID_SilentPride) * tmp;
attacker->battleDefense += SKILL_EFF1(SID_SilentPride) * tmp;
break;
Expand Down

0 comments on commit b705216

Please sign in to comment.