@@ -859,6 +859,13 @@ function Simulationcraft:GetSimcProfile(debugOutput, noBags, showMerchant, links
859
859
end
860
860
local playerSpec = specNames [ globalSpecID ] or ' unknown'
861
861
862
+ -- Loot spec
863
+ local lootSpecId = GetLootSpecialization ()
864
+ if lootSpecId == 0 then
865
+ lootSpecId = globalSpecID
866
+ end
867
+ local playerLootSpec = specNames [ lootSpecId ]
868
+
862
869
-- Professions
863
870
local pid1 , pid2 = GetProfessions ()
864
871
local firstProf , firstProfRank , secondProf , secondProfRank , profOneId , profTwoId
@@ -901,6 +908,7 @@ function Simulationcraft:GetSimcProfile(debugOutput, noBags, showMerchant, links
901
908
local playerSpecStr = ' spec=' .. Tokenize (playerSpec )
902
909
playerRealm = ' server=' .. Tokenize (playerRealm )
903
910
playerRegion = ' region=' .. Tokenize (playerRegion )
911
+ local playerLootSpecStr = ' loot_spec=' .. Tokenize (playerLootSpec )
904
912
905
913
-- Build the output string for the player (not including gear)
906
914
local simcPrintError = nil
@@ -926,6 +934,7 @@ function Simulationcraft:GetSimcProfile(debugOutput, noBags, showMerchant, links
926
934
simulationcraftProfile = simulationcraftProfile .. playerRole .. ' \n '
927
935
simulationcraftProfile = simulationcraftProfile .. playerProfessions .. ' \n '
928
936
simulationcraftProfile = simulationcraftProfile .. playerSpecStr .. ' \n '
937
+ simulationcraftProfile = simulationcraftProfile .. ' # ' .. playerLootSpecStr .. ' \n '
929
938
simulationcraftProfile = simulationcraftProfile .. ' \n '
930
939
931
940
if playerSpec == ' unknown' then -- luacheck: ignore
0 commit comments