Download
(3Kb)
Download
Updated: 02-17-20 09:53 AM
Compatibility:
Visions of N'Zoth (8.3.0)
BfA content patch (8.2.5)
Rise of Azshara (8.2.0)
Updated:02-17-20 09:53 AM
Created:02-17-20 09:53 AM
Downloads:210
Favorites:0
MD5:

yCriticalStrike

Version: 1.0
by: Yukyuk [More]

yCriticalStrike is a simple small addon that displays your current critical strike percentage.
The frame is movable and can by placed anywhere on your interface.
When in combat the frame is locked to prevent accidentally moving the frame.

Use /ycs or /yCriticalStrike to hide or show the frame.

If you want to modify the the look of yCriticalStrike, modify the constants in the lua file.
You can use any text editor (I use Notepad++).

Lua Code:
  1. -------------------------------------------------------------------------------
  2. --  Constants
  3. -------------------------------------------------------------------------------
  4. local ADDON_WIDTH       = 124           -- Width of the addon frame
  5. local ADDON_HEIGHT      = 24            -- Height of the addon frame
  6. local ADDON_TEXT        = 12            -- Text color, refers to cfg.colors
  7. local ADDON_BORDER      = 11            -- Border color, refers to cfg.colors  
  8. local ADDON_BACKGROUND  = 4             -- Background color, refers to cfg.colors
  9. local ADDON_SPACE       = 6             -- Distance in pixels between the top of the frame and the top of the text
  10. local ADDON_STAT        = "Crit:"       -- Description of the statistic
  11. local ADDON_DECIMALS    = 2             -- The number of decimals that will display
  12. local ADDON_PERCENTAGE  = "%"           -- The percentage symbol (set to "" if you don't want a symbol)

Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: