@@ -504,6 +504,33 @@ TMW:MakeSingleArgFunctionCached(TMW, "EquivToTable")
504504-- Constant spell data
505505---- -----------------------------
506506
507+ local genericTotemSlots = {
508+ {
509+ hasVariableNames = true ,
510+ name = L [" GENERICTOTEM" ]:format (1 ),
511+ texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
512+ },
513+ {
514+ hasVariableNames = true ,
515+ name = L [" GENERICTOTEM" ]:format (2 ),
516+ texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
517+ },
518+ {
519+ hasVariableNames = true ,
520+ name = L [" GENERICTOTEM" ]:format (3 ),
521+ texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
522+ },
523+ {
524+ hasVariableNames = true ,
525+ name = L [" GENERICTOTEM" ]:format (4 ),
526+ texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
527+ },
528+ {
529+ hasVariableNames = true ,
530+ name = L [" GENERICTOTEM" ]:format (5 ),
531+ texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
532+ },
533+ }
507534
508535if pclass == " DRUID" then
509536 TMW .COMMON .CurrentClassTotems = {
@@ -542,22 +569,6 @@ elseif pclass == "PALADIN" then
542569 texture = GetSpellTexture (114158 )
543570 }
544571 }
545- elseif pclass == " MONK" then
546- TMW .COMMON .CurrentClassTotems = {
547- name = L [" ICONMENU_STATUE" ],
548- desc = L [" ICONMENU_TOTEM_GENERIC_DESC" ]:format (L [" ICONMENU_STATUE" ]),
549- {
550- hasVariableNames = false ,
551- name = L [" ICONMENU_STATUE" ],
552- texture = function ()
553- if GetSpecialization () == 1 then
554- return GetSpellTexture (163177 ) -- black ox
555- else
556- return GetSpellTexture (115313 ) -- jade serpent
557- end
558- end ,
559- }
560- }
561572elseif pclass == " DEATHKNIGHT" then
562573 local npcName = function (npcID )
563574 local cachedName = TMW :TryGetNPCName (npcID )
@@ -588,30 +599,6 @@ else
588599 TMW .COMMON .CurrentClassTotems = {
589600 name = L [" ICONMENU_TOTEM" ],
590601 desc = L [" ICONMENU_TOTEM_DESC" ],
591- {
592- hasVariableNames = true ,
593- name = L [" GENERICTOTEM" ]:format (1 ),
594- texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
595- },
596- {
597- hasVariableNames = true ,
598- name = L [" GENERICTOTEM" ]:format (2 ),
599- texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
600- },
601- {
602- hasVariableNames = true ,
603- name = L [" GENERICTOTEM" ]:format (3 ),
604- texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
605- },
606- {
607- hasVariableNames = true ,
608- name = L [" GENERICTOTEM" ]:format (4 ),
609- texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
610- },
611- {
612- hasVariableNames = true ,
613- name = L [" GENERICTOTEM" ]:format (5 ),
614- texture = " Interface\\ ICONS\\ ability_shaman_tranquilmindtotem"
615- },
616602 }
603+ TMW :CopyTableInPlaceUsingDestinationMeta (genericTotemSlots , TMW .COMMON .CurrentClassTotems , true )
617604end
0 commit comments