Skip to content

Commit

Permalink
Remove attack and damage buttons from PC inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaj-a committed Mar 9, 2021
1 parent f5bf292 commit 5c811ec
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/module/actor/sheet/creature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,6 @@ export abstract class ActorSheetPF2eCreature<ActorType extends PF2EActor> extend
'<span class="tag"><button data-action="toggleHands"><i class="far fa-hand-paper"></i></button></span>',
);
}
buttons.append(
`<button class="weapon_attack tag" data-action="weaponAttack">${game.i18n.localize(
'PF2E.WeaponStrikeLabel',
)} (+${chatData.attackRoll})</button>`,
);
buttons.append(
`<button class="tag weapon_attack2" data-action="weaponAttack2">${chatData.map2}</button>`,
);
buttons.append(
`<button class="tag weapon_attack3" data-action="weaponAttack3">${chatData.map3}</button>`,
);
buttons.append(
`<button class="tag weapon_damage" data-action="weaponDamage">${game.i18n.localize(
'PF2E.DamageLabel',
)}</button>`,
);
buttons.append(
`<button class="tag weapon_critical" data-action="weaponDamageCritical">${game.i18n.localize(
'PF2E.CriticalDamageLabel',
)}</button>`,
);
break;
case 'spell':
if (chatData.isSave)
Expand Down

0 comments on commit 5c811ec

Please sign in to comment.