Skip to content

Commit

Permalink
better tank check
Browse files Browse the repository at this point in the history
  • Loading branch information
lologarithm committed Jun 13, 2022
1 parent 1500435 commit 208883c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/raid/import_export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,10 +735,10 @@ class WCLSimPlayer implements wclSimPlayer {
player = withSpecProto(this.spec, player, matchingPreset.rotation, specFuncs.talentsCreate(), matchingPreset.specOptions);

// Set tanks 'in front of target'
if (player.spec.oneofKind == "feralTankDruid" || player.spec.oneofKind == "protectionPaladin" || player.spec.oneofKind == "protectionWarrior") {
if (isTankSpec(this.spec)) {
player.inFrontOfTarget = true;
}

player.talentsString = matchingPreset.talents;
player.consumes = matchingPreset.consumes;

Expand Down

0 comments on commit 208883c

Please sign in to comment.