Skip to content

Commit

Permalink
Fix Grand Weaponmastery bonus
Browse files Browse the repository at this point in the history
  • Loading branch information
cracrayol committed Nov 3, 2019
1 parent 38d0d67 commit 4ff3ec7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ts/model/actionChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ class ActionChart {
concept: translations.text( 'weaponskill' ),
increment: +2
});
else {
else if( state.book.isMagnakaiBook() ) {
// Magnakai book
let bonus = +3;
/* Exception (Magnakai books):
Expand All @@ -577,6 +577,11 @@ class ActionChart {
concept: translations.text( 'weaponmastery' ),
increment: bonus
});
} else {
bonuses.push( {
concept: translations.text( 'grdweaponmastery' ),
increment: +5
});
}
}

Expand Down
1 change: 1 addition & 0 deletions src/ts/views/viewsUtils/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ class Translations {
'noWeapon' : 'No weapon',
'weaponskill' : 'Weaponskill',
'weaponmastery' : 'Weaponmastery',
'grdweaponmastery' : 'Grand Weaponmastery',
'mindblast' : 'Mindblast',
'psisurge' : 'Psi-surge',
'kaisurge' : 'Kai-surge',
Expand Down

0 comments on commit 4ff3ec7

Please sign in to comment.