From 208883ced92d8e3613e2224fd83e1d71d0dd1e60 Mon Sep 17 00:00:00 2001 From: Ben Echols Date: Mon, 13 Jun 2022 10:41:09 -0600 Subject: [PATCH] better tank check --- ui/raid/import_export.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/raid/import_export.ts b/ui/raid/import_export.ts index 1f10c558..2d35ef22 100644 --- a/ui/raid/import_export.ts +++ b/ui/raid/import_export.ts @@ -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;