Skip to content

Commit

Permalink
🐛 修正: [SW2.0] クロスボウの追加Dの計算式が2.5のものになっていた
Browse files Browse the repository at this point in the history
  • Loading branch information
yutorize committed Sep 30, 2024
1 parent 86c5e57 commit 654beb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _core/lib/sw2/calc-chara.pl
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ sub data_calc {
my $dmg = 0;
$dmg = $pc{"weapon${_}Dmg"};
if ($category eq 'クロスボウ'){
$dmg += $pc{lvSho};
$dmg += $::SW2_0 ? 0 : $pc{lvSho};
}
elsif($category eq 'ガン'){
$dmg += $pc{magicPowerMag};
Expand Down
2 changes: 1 addition & 1 deletion _core/lib/sw2/edit-chara.js
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ function calcWeapon() {
accBase += classLv + parseInt((dex + ownDex) / 6);
}
// 基礎ダメージ
if (category === 'クロスボウ'){ dmgBase = classLv; }
if (category === 'クロスボウ'){ dmgBase = modeZero ? 0 : classLv; }
else if(category === 'ガン') { dmgBase = magicPowers['Mag']; }
else if(!modeZero && className === "デーモンルーラー")
{ dmgBase = magicPowers['Dem']; }
Expand Down

0 comments on commit 654beb3

Please sign in to comment.