i swap between fishing pole and my staff just fine in combat while fishing with AutoAngler, but shield might be different. IDK since i only fish on my mageyou cant swap weapons in combat.
#region Swap Weapon
public string mainHandItemName = "Ruthless Gladiator's Hacker";
public string offHandItemName = "Ruthless Gladiator's Shield Wall";
public string TwoHandItemName = "Ruthless Gladiator's Decapitator";
public static void EquipWeaponSet(string mainHandItemName, string offHandItemName)
{
EquipItem(16, mainHandItemName);
EquipItem(17, offHandItemName);
}
public static void EquipItem(uint slot, string TwoHandItemName)
{
if(StyxWoW.Me.Inventory.Equipped.GetItemBySlot(slot - 1).Name != TwoHandItemName)
Lua.DoString("RunMacroText(\"/equipslot {0} {1}\")", slot, TwoHandItemName);
}
#endregion
public string mainHandItemName = "Ruthless Gladiator's Hacker";//Name of the mainHandItemName
public string offHandItemName = "Ruthless Gladiator's Shield Wall";//Name of the offHandItemName
public string TwoHandItemName = "Ruthless Gladiator's Decapitator";//Name of the TwoHandItemName
//If No OffHand Weapon Equiped -> Equip Mainhand + OffHand
if(StyxWoW.Me.Inventory.Equipped.OffHand == null)
{
Lua.DoString("RunMacroText(\"/equipslot 16 " + mainHandItemName + "\")");
Lua.DoString("RunMacroText(\"/equipslot 17 " + offHandItemName + "\")");
}
//If OffHand Weapon Equiped -> Equip Two Hand Weapon
if(StyxWoW.Me.Inventory.Equipped.OffHand != null)
{
Lua.DoString("RunMacroText(\"/equipslot 16 " + TwoHandItemName + "\")");
}
This will only work on Singular, since you used "StyxWoW". Correct me if I'm incorrect
public string mainHandItemName = "Ruthless Gladiator's Hacker";//Name of the mainHandItemName
public string offHandItemName = "Ruthless Gladiator's Shield Wall";//Name of the offHandItemName
public string TwoHandItemName = "Ruthless Gladiator's Decapitator";//Name of the TwoHandItemName
//If No OffHand Weapon Equiped -> Equip Mainhand + OffHand
if(StyxWoW.Me.Inventory.Equipped.OffHand == null)
{
Lua.DoString("RunMacroText(\"/equipslot 16 " + mainHandItemName + "\")");
Lua.DoString("RunMacroText(\"/equipslot 17 " + offHandItemName + "\")");
}
//If OffHand Weapon Equiped -> Equip Two Hand Weapon
if(StyxWoW.Me.Inventory.Equipped.OffHand != null)
{
Lua.DoString("RunMacroText(\"/equipslot 16 " + TwoHandItemName + "\")");
}