Change Log:
--------------------
1.03
Fix "bad argument #1 to 'band'" error.
1.02
Add separate KB textures for each faction
Alliance uses existing texture (renamed to KillingBlow_Alliance.tga Horde uses the new KillingBlow_Horde.tga (by OligoFriends)
Move the texture:SetTexture call to the first firing of PLAYER_ENTERING_WORLD so UnitFactionGroup can return accurate results
Rename frame to KillingBlow_EnhancedFrame (was KillingBlowImageFrame, from the AddOn's old name)
1.01
Fix tools-used entry
Record KBs for units controlled by the player
Record KBs on _DAMAGE events with an overkill argument >= 0 in
addition to PARTY_KILL
Suggested by Caellian because PARTY_KILL apparently doesn't fire
correctly sometimes
Add globals list and tools-used entry for mikk's FindGlobals script
Re-encode core.lua as UTF-8 without BOM so luac will work
Add download info to README.md
Description:
--------------------
Description
This AddOn shows an image and plays a sound when you get a killing blow. When in a battleground, only killing blows on players are recorded; but all killing blows are recorded outside of battlegrounds.
You can configure the AddOn by editing the options at the top of core.lua in a text editor. This lets you enable/disable the printing of your current KB total to the chat frame and choose whether the AddOn works everywhere or only in BGs.
The KB total is reset whenever you go through a loading screen (e.g. when you enter/leave a battleground).
Source Code
You can view the AddOn's source code on GitHub.
Credits
Thanks OligoFriends of Curse/WoWI for the original concept and the art/sound design.
Thanks to nightcracker for ncKillingBlow, which showed me which event fires for killing blows.
--------------------
1.03
Fix "bad argument #1 to 'band'" error.
1.02
Add separate KB textures for each faction
Alliance uses existing texture (renamed to KillingBlow_Alliance.tga Horde uses the new KillingBlow_Horde.tga (by OligoFriends)
Move the texture:SetTexture call to the first firing of PLAYER_ENTERING_WORLD so UnitFactionGroup can return accurate results
Rename frame to KillingBlow_EnhancedFrame (was KillingBlowImageFrame, from the AddOn's old name)
1.01
Fix tools-used entry
Record KBs for units controlled by the player
Record KBs on _DAMAGE events with an overkill argument >= 0 in
addition to PARTY_KILL
Suggested by Caellian because PARTY_KILL apparently doesn't fire
correctly sometimes
Add globals list and tools-used entry for mikk's FindGlobals script
Re-encode core.lua as UTF-8 without BOM so luac will work
Add download info to README.md
Description:
--------------------
Description
This AddOn shows an image and plays a sound when you get a killing blow. When in a battleground, only killing blows on players are recorded; but all killing blows are recorded outside of battlegrounds.
You can configure the AddOn by editing the options at the top of core.lua in a text editor. This lets you enable/disable the printing of your current KB total to the chat frame and choose whether the AddOn works everywhere or only in BGs.
The KB total is reset whenever you go through a loading screen (e.g. when you enter/leave a battleground).
Source Code
You can view the AddOn's source code on GitHub.
Credits
Thanks OligoFriends of Curse/WoWI for the original concept and the art/sound design.
Thanks to nightcracker for ncKillingBlow, which showed me which event fires for killing blows.