User Interface: Difference between revisions

From Vanilla Plus
Jump to navigation Jump to search
Tags: Reverted Visual edit
Tags: Reverted Visual edit
Line 22: Line 22:
=== Macros: ===
=== Macros: ===


* '''Mob Attack Damage/Speed''' /script ld, hd, old, ohd, pb, nb, pm = UnitDamage("target"); SendChatMessage(UnitName("target").."'s main hand attacks hit for "..ld.." to "..hd.. " and their offhand attacks hit for "..old.." to "..ohd);
* '''Mob Attack Damage/Speed'''  
* '''Mob Armor & Resist'''  /script u=UnitResistance y="target" a=u(y ,0) h=u(y ,1) f=u(y ,2) n=u(y ,3) fr=u(y ,4) s=u(y ,5) z=u(y ,6) SendChatMessage(UnitName(y).." has "..a.." Armor, "..h.." HR, "..f.." FR, "..n.." NR, "..fr.." FrR, "..s.." SR and "..z.." AR.", SAY)
** /script ld, hd, old, ohd, pb, nb, pm = UnitDamage("target"); SendChatMessage(UnitName("target").."'s main hand attacks hit for "..ld.." to "..hd.. " and their offhand attacks hit for "..old.." to "..ohd);
* '''Instance Reset'''  /script ResetInstances();
* '''Mob Armor & Resist'''   
* '''Autoattack'''  /script if not IsCurrentAction(12) then UseAction(12) end;
** /script u=UnitResistance y="target" a=u(y ,0) h=u(y ,1) f=u(y ,2) n=u(y ,3) fr=u(y ,4) s=u(y ,5) z=u(y ,6) SendChatMessage(UnitName(y).." has "..a.." Armor, "..h.." HR, "..f.." FR, "..n.." NR, "..fr.." FrR, "..s.." SR and "..z.." AR.", SAY)
* '''Raid Target Icons'''  /script SetRaidTarget("target", 8); Skull
* '''Instance Reset'''   
** /script ResetInstances();
* '''Autoattack'''   
** /script if not IsCurrentAction(12) then UseAction(12) end;
* '''Raid Target Icons'''   
** '''Skull''' /script SetRaidTarget("target", 8)

Revision as of 03:01, 20 April 2026

Vanilla Plus Github Addon Discussion: https://github.com/KrekoG/vanillaplus#addons-maintained-by-the-community

General Addons:

Vanilla+ Class/Role Specific Tools:

Macros:

  • Mob Attack Damage/Speed
    • /script ld, hd, old, ohd, pb, nb, pm = UnitDamage("target"); SendChatMessage(UnitName("target").."'s main hand attacks hit for "..ld.." to "..hd.. " and their offhand attacks hit for "..old.." to "..ohd);
  • Mob Armor & Resist
    • /script u=UnitResistance y="target" a=u(y ,0) h=u(y ,1) f=u(y ,2) n=u(y ,3) fr=u(y ,4) s=u(y ,5) z=u(y ,6) SendChatMessage(UnitName(y).." has "..a.." Armor, "..h.." HR, "..f.." FR, "..n.." NR, "..fr.." FrR, "..s.." SR and "..z.." AR.", SAY)
  • Instance Reset
    • /script ResetInstances();
  • Autoattack
    • /script if not IsCurrentAction(12) then UseAction(12) end;
  • Raid Target Icons
    • Skull /script SetRaidTarget("target", 8)