Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Addon link can be found in my Discord: https://discord.gg/6Rdaz8K or curseforge https://www.curseforge.com/wow/addons/dragonflight-gladius-bicmex-version
- Type /gladius ingame, go into the "Layout" tab and then paste the string in. Click "Accept" and then "Import" - Make sure you /reloadui after doing this and everything should work. Type /Gladius test 3 to see how it looks.
- ⚠️ Note that the font i'm using is called Gilry - if you don't have this it will look messed up. Go to my discord to downoad it! -> https://discord.gg/6Rdaz8K ⚠️
- ^1^T^Smodules^T^SHighlight^b^t^ScastBarHeight^N43^Stags^T^Smaxhealth^T^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`UnitHealthMax(unit)~`or~`Gladius.testing[unit].maxHealth~Jend^Sevents^SUNIT_HEALTH~`UNIT_MAXHEALTH~`UNIT_NAME_UPDATE^t^Sclass:short^T^Spreparation^B^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class]..":short"]~`or~`Gladius.L[LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]..":short"]~Jend^Sevents^SUNIT_NAME_UPDATE^t^Shealth:short^T^Sfunc^Sfunction(unit)~Jlocal~`health~`=~`not~`Gladius.test~`and~`UnitHealth(unit)~`or~`Gladius.testing[unit].health~Jif~`(health~`>~`999)~`then~Jreturn~`strformat("%.1fk",~`(health~`/~`1000))~Jelse~Jreturn~`health~Jend~Jend^Sevents^SUNIT_HEALTH~`UNIT_MAXHEALTH~`UNIT_NAME_UPDATE^t^Sclass^T^Spreparation^B^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`LOCALIZED_CLASS_NAMES_MALE[Gladius.buttons[unit].class]~`or~`LOCALIZED_CLASS_NAMES_MALE[Gladius.testing[unit].unitClass]~Jend^Sevents^SUNIT_NAME_UPDATE^t^Spower:short^T^Sfunc^Sfunction(unit)~Jlocal~`power~`=~`not~`Gladius.test~`and~`UnitPower(unit)~`or~`Gladius.testing[unit].power~Jif~`(power~`>~`999)~`then~Jreturn~`strformat("%.1fk",~`(power~`/~`1000))~Jelse~Jreturn~`power~Jend~Jend^Sevents^SUNIT_POWER_UPDATE~`UNIT_DISPLAYPOWER~`UNIT_NAME_UPDATE^t^Srace^T^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`UnitRace(unit)~`or~`Gladius.testing[unit].unitRace~Jend^Sevents^SUNIT_NAME_UPDATE^t^Smaxpower:short^T^Sfunc^Sfunction(unit)~Jlocal~`power~`=~`not~`Gladius.test~`and~`UnitPowerMax(unit)~`or~`Gladius.testing[unit].maxPower~Jif~`(power~`>~`999)~`then~Jreturn~`strformat("%.1fk",~`(power~`/~`1000))~Jelse~Jreturn~`power~Jend~Jend^Sevents^SUNIT_MAXPOWER~`UNIT_DISPLAYPOWER~`UNIT_NAME_UPDATE^t^Spower^T^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`UnitPower(unit)~`or~`Gladius.testing[unit].power~Jend^Sevents^SUNIT_POWER~`UNIT_DISPLAYPOWER~`UNIT_NAME_UPDATE^t^Sname:status^T^Sfunc^Sfunction(unit)~Jreturn~`UnitIsDeadOrGhost(unit)~`and~`Gladius.L["DEAD"]~`or~`(UnitName(unit)~`or~`unit)~Jend^Sevents^SUNIT_NAME_UPDATE~`UNIT_HEALTH^t^Sspec^T^Spreparation^B^Sfunc^Sfunction(unit)~Jreturn~`Gladius.test~`and~`Gladius.testing[unit].unitSpec~`or~`Gladius.buttons[unit].spec~Jend^Sevents^SUNIT_NAME_UPDATE~`GLADIUS_SPEC_UPDATE^t^Spower:percentage^T^Sfunc^Sfunction(unit)~Jlocal~`power~`=~`not~`Gladius.test~`and~`UnitPower(unit)~`or~`Gladius.testing[unit].power~Jlocal~`maxPower~`=~`not~`Gladius.test~`and~`UnitPowerMax(unit)~`or~`Gladius.testing[unit].maxPower~Jreturn~`strformat("%.1f%%",~`(power~`/~`maxPower~`*~`100))~Jend^Sevents^SUNIT_POWER_UPDATE~`UNIT_MAXPOWER~`UNIT_DISPLAYPOWER~`UNIT_NAME_UPDATE^t^Smaxpower^T^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`UnitPowerMax(unit)~`or~`Gladius.testing[unit].maxPower~Jend^Sevents^SUNIT_MAXPOWER~`UNIT_DISPLAYPOWER~`UNIT_NAME_UPDATE^t^Sspec:short^T^Spreparation^B^Sfunc^Sfunction(unit)~Jlocal~`spec~`=~`Gladius.test~`and~`Gladius.testing[unit].unitSpec~`or~`Gladius.buttons[unit].spec~Jif~`(spec~`==~`nil~`or~`spec~`==~`"")~`then~Jreturn~`""~Jend~Jreturn~`Gladius.L[spec..":short"]~Jend^Sevents^SUNIT_NAME_UPDATE~`GLADIUS_SPEC_UPDATE^t^Shealth:percentage^T^Sfunc^Sfunction(unit)~Jlocal~`health~`=~`not~`Gladius.test~`and~`UnitHealth(unit)~`or~`Gladius.testing[unit].health~Jlocal~`maxHealth~`=~`not~`Gladius.test~`and~`UnitHealthMax(unit)~`or~`Gladius.testing[unit].maxHealth~Jreturn~`strformat("%.1f%%",~`(health~`/~`maxHealth~`*~`100))~Jend^Sevents^SUNIT_HEALTH~`UNIT_MAXHEALTH~`UNIT_NAME_UPDATE^t^Shealth^T^Sfunc^Sfunction(unit)~Jreturn~`not~`Gladius.test~`and~`UnitHealth(unit)~`or~`Gladius.testing[unit].health~Jend^Sevents^SUNIT_HEALTH~`UNIT_MAXHEALTH~`UNIT_NAME_UPDATE^t^Smaxhealth:short^T^Sfunc^Sfunction(unit)~Jlocal~`health~`=~`not~`Gladius.test~`and~`UnitHealthMax(unit)~`or~`Gladius.testing[unit].maxHealth~Jif~`(health~`>~`999)~`then~Jreturn~`strformat("%.1fk",~`(health~`/~`1000))~Jelse~Jreturn~`health~Jend~Jend^Sevents^SUNIT_HEALTH~`UNIT_MAXHEALTH~`UNIT_NAME_UPDATE^t^Sname^T^Sfunc^Sfunction(unit)~Jreturn~`UnitName(unit)~`or~`unit~Jend^Sevents^SUNIT_NAME_UPDATE^t^t^SclassIconCrop^B^SdispellOffsetY^N-1^ScastTextOffsetX^N2^SdispellAdjustSize^b^SpowerBarHeight^N19^ScastTimeTextOffsetX^N-5^StagsVersion^N4^ScastBarWidth^N233^SdispellGloss^b^Slocked^B^StrinketSize^N43^Sx^T^Sarena1^F8858433909908542^f-43^t^SbottomMargin^N0^ScastBarColor^T^Sb^F5227708028026881^f-55^Sg^F6817214220992512^f-53^t^StrinketAdjustSize^b^ScastBarAdjustWidth^b^SRacialGloss^b^StargetBarHeight^N73^SglobalFont^SArial~`Narrow^StimerSoonFontSize^N17^SbackgroundColor^T^Sa^F8437489022795775^f-54^t^ScastTextSize^N15^SdrCategories^T^Staunt^b^Sknockback^b^t^StrinketGloss^b^StimerSecondsFontSize^N17^SdispellIconCrop^B^SdrTrackerMargin^N0^SdispellOffsetX^N44^Sannouncements^T^Shealth^b^ShealthThreshold^N5^Sspec^b^t^SframeScale^N1.1^SdrTrackerOffsetY^N1^ScastTimeTextSize^N14^SdispellSize^N43^SRacialAdjustSize^b^Sy^T^Sarena1^F6609515739740161^f-44^t^SdrFontSize^N20^SbarWidth^N190^SRacialOffsetY^N-44^StrinketIconCrop^B^StrinketDetached^B^SauraVersion^N1^SdrTrackerAdjustSize^b^StargetBarEnableBar^b^SclassIconSize^N42^ShealthBarTexture^SKui~`status~`bar^SdrTrackerSize^N43^SdispellGlossColor^T^Sa^N0^t^SRacialSize^N44^StimerMinutesFontSize^N13^StrinketOffsetY^N-1^SRacialOffsetX^N0^ScastBarBackgroundColor^T^Sa^N0^t^SbackgroundPadding^N0^t^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement