====== Macros utiles pour World of Warcraft ====== ===== Changement de spécialisation et équipement du set correspondant ===== === Fonctionnement === Clic : change l'équipement puis change la spécialisation pour celle choisie === Prérequis === Pour que ces macros fonctionnent il faut un ensemble d'équipement par spécialisation, que ces ensembles portent exactement le même nom que la spécialisation correspondante, par exemple pour le Paladin Protection il faut que l'ensemble d'armure se nomme "Protection". L'ordre des spécialisations est celui de l'écran de choix de haut en bas.\\ {{:wow:wow_sets.jpg?nolink&200|}} {{:wow:wow_spe.jpg?nolink&200|}} Il n'y a pas besoin de modifier les macros elles fonctionnent pour toutes les classes. === Macros === Spécialisation 1 (Paladin Sacré, Guerrier Arme, ...) /script t=select(2,GetSpecializationInfo(1)); for i=0,C_EquipmentSet.GetNumEquipmentSets()-1 do if select(1,C_EquipmentSet.GetEquipmentSetInfo(i))==t then C_EquipmentSet.UseEquipmentSet(i); end end if GetSpecialization()~=1 then SetSpecialization(1); end Spécialisation 2 (Paladin Protection, Guerrier Fureur, ...) /script t=select(2,GetSpecializationInfo(2)); for i=0,C_EquipmentSet.GetNumEquipmentSets()-1 do if select(1,C_EquipmentSet.GetEquipmentSetInfo(i))==t then C_EquipmentSet.UseEquipmentSet(i); end end if GetSpecialization()~=2 then SetSpecialization(2); end Spécialisation 3 (Paladin Vindicte, Guerrier Protection, ...) /script t=select(2,GetSpecializationInfo(3)); for i=0,C_EquipmentSet.GetNumEquipmentSets()-1 do if select(1,C_EquipmentSet.GetEquipmentSetInfo(i))==t then C_EquipmentSet.UseEquipmentSet(i); end end if GetSpecialization()~=3 then SetSpecialization(3); end; Spécialisation 4 (pour les druides cheatés) /script t=select(2,GetSpecializationInfo(4)); for i=0,C_EquipmentSet.GetNumEquipmentSets()-1 do if select(1,C_EquipmentSet.GetEquipmentSetInfo(i))==t then C_EquipmentSet.UseEquipmentSet(i); end end if GetSpecialization()~=4 then SetSpecialization(4); end;