mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Removed duplicated methods so logic gets correct (#920)
This commit is contained in:
parent
5e56c7ec2e
commit
24114fbdf6
1 changed files with 1 additions and 6 deletions
|
|
@ -43,11 +43,6 @@ export default class DhCombatTracker extends foundry.applications.sidebar.tabs.C
|
|||
});
|
||||
}
|
||||
|
||||
async _prepareTurnContext(combat, combatant, index) {
|
||||
const turn = await super._prepareTurnContext(combat, combatant, index);
|
||||
return { ...turn, isNPC: combatant.isNPC, system: combatant.system.toObject() };
|
||||
}
|
||||
|
||||
_getCombatContextOptions() {
|
||||
return [
|
||||
{
|
||||
|
|
@ -113,7 +108,7 @@ export default class DhCombatTracker extends foundry.applications.sidebar.tabs.C
|
|||
tooltip: this._formatEffectsTooltip(effects)
|
||||
};
|
||||
|
||||
return turn;
|
||||
return { ...turn, isNPC: combatant.isNPC, system: combatant.system.toObject() };
|
||||
}
|
||||
|
||||
async setCombatantSpotlight(combatantId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue