Skip to content

Commit

Permalink
Complete overhaul.
Browse files Browse the repository at this point in the history
  • Loading branch information
epodox committed Oct 5, 2020
1 parent 20b2a62 commit c896631
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 44 deletions.
Binary file removed Backup fonts/defaultwowfont.ttf
Binary file not shown.
Binary file removed Backup fonts/font.ttf
Binary file not shown.
Binary file removed Backup fonts/font2.ttf
Binary file not shown.
Binary file removed Backup fonts/font3.ttf
Binary file not shown.
Binary file removed Backup fonts/font4.ttf
Binary file not shown.
Binary file removed Backup fonts/font5.TTF
Binary file not shown.
Binary file removed Backup fonts/font6.ttf
Binary file not shown.
9 changes: 9 additions & 0 deletions BetterDamage.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Interface: 11305
## Title: BetterDamage
## DefaultState: Enabled
## Author: Epodox
## Version: 1.0
## Notes: Makes your damage text better.
# Retail:80300, Classic:11305

Luas\BetterDamage.lua
9 changes: 0 additions & 9 deletions CoolDamageFont2.toc

This file was deleted.

Binary file removed Fonts/font6.ttf
Binary file not shown.
Binary file removed Images/CDF Logo.png
Binary file not shown.
Binary file added Images/WoW_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions Luas/BetterDamage.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-- Shows addon loaded in chat window.
print("BetterDamage v1.0")

-- Locals
local damagefont_FONT_NUMBER = "Interface\\AddOns\\BetterDamage\\Fonts\\font.ttf";

-- Code Base
BetterDamage = CreateFrame("Frame", "BetterDamage");

function BetterDamage:ApplySystemFonts()
DAMAGE_TEXT_FONT = damagefont_FONT_NUMBER;
end

BetterDamage:SetScript("OnEvent",
function()
if (event == "ADDON_LOADED") then
BetterDamage:ApplySystemFonts()
end
end);

BetterDamage:RegisterEvent("ADDON_LOADED");
BetterDamage:ApplySystemFonts()
22 changes: 0 additions & 22 deletions Luas/CoolDamageFont2.lua

This file was deleted.

19 changes: 6 additions & 13 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
Description
This addon is an update to the outdated CoolDamageFont. The previous addon used the PEPSI font as its default font. This font is missing key symbols needed for the Shadowlands expansion. This addon replaces the default font with Roboto Black Italic, as well as updates some base code. It should be noted that the old PEPSI font is still included in the CoolDamageFont2 addon folder but be warned you will get strange symbols in your damage text if used during Shadowlands and later.

Changes:
- Updates default font with one that works in the Shadowlands expansion.
- Updates base code.
Description:
This addon changes the damage font.

Instuctions:
You can change the font to any of the 6 included fonts or download your own .ttf file.
You can change the font to any of the 5 included fonts or download your own .ttf file.

Note: Make sure your showing file extensions in windows explorer. For instructions on how to do that go HERE
Note: Make sure your showing file extensions in windows explorer. For instructions on how to do that go https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/

1. Navigate to ...World of Warcraft\_retail_\Interface\Addons\CoolDamageFont2, for classic change "_retail_" to "_classic_".
1. Navigate to ...World of Warcraft\_retail_\Interface\Addons\BetterDamage, for classic change "_retail_" to "_classic_".
2. Rename font.ttf to something different.
3. Rename the new font file you want to use to font.ttf
4. Close and reopen World of Warcraft.

Issues:
Post your issues and request features at https://www.curseforge.com/wow/addons/cooldamagefont-2-0/issues

Credit:
Original credit for this addon goes to r3voluti0. Please see his original version at https://www.curseforge.com/wow/addons/cooldamagefont big thanks to him for the creation of this addon.
Post your issues and request features at https://www.curseforge.com/wow/addons/betterdamage/issues

0 comments on commit c896631

Please sign in to comment.