vrtc / chorus (public) (License: CC0) (since 2023-08-12) (hash sha1)
World of Warcraft add-on stub. The overall goal is to create a specialized raid frame.
List of commits:
Subject Hash Author Date (UTC)
fix: Show only meaningful numbers for health 37217b1dc78c0a2b4711dc45ada0c4873e904a1f Vladyslav Bondarenko 2023-08-21 13:32:19
fix: Remove testing range frame 4fcfd5c7bf4626137a1251cbcbe54157055ac875 Vladyslav Bondarenko 2023-08-21 13:10:16
fix: Place solo frames range frame correctly f926b1fb857a48b14a706926f14b5da730d210f1 Vladyslav Bondarenko 2023-08-21 13:08:42
feat!: Re-add player solo frames bf5346aa96a3daeadafeb3a723f7821012f1d5e5 Vladyslav Bondarenko 2023-08-21 12:22:48
fix: Render raid target icon on correct layer 890bb5340a3876b611f67ac1277cc009e5e4df5b Vladyslav Bondarenko 2023-08-20 18:12:31
feat: Display health deficit 0620038bf95d2c8e77eb088f2345764f428563d4 Vladyslav Bondarenko 2023-08-20 17:55:49
fix(build): Update rockspec dcffb9897deb97fa4039cd4513a51e397ebc4ab7 Vladyslav Bondarenko 2023-08-20 17:16:25
feat!: Update raid frame layout ad51f7e37e8babd30ee45c5b87d931a09c1fc0f3 Vladyslav Bondarenko 2023-08-20 14:45:38
fix: Do not show range to oneself c055a76806c5646e4027698c6a105f06199be4ae Vladyslav Bondarenko 2023-08-20 04:29:32
feat!: Add raid targeting icons 53121d5d75fb55d745734337ab70283496e46e7c Vladyslav Bondarenko 2023-08-19 23:22:01
feat!: Add general threat situation widget a002db1c9c810f21fe1e1c042a435875bbe5f317 Vladyslav Bondarenko 2023-08-19 22:20:58
fix!: Highlight offline players 7c28b6efa34f6e5450d2999acfd5a54880aa6df0 Vladyslav Bondarenko 2023-08-19 21:06:38
fix!: Change aura sorting ba249c7309ccbcb14fea727b347c3dd532af73ee Vladyslav Bondarenko 2023-08-19 20:40:31
feat: Show player in party 198e8c86b9b93dd9c3edf7045d5bbcb9142d76d6 Vladyslav Bondarenko 2023-08-19 20:38:40
feat(doc)!: Add project description 4b406a549e83dda3845104e8a6a233eae481a3c8 Vladyslav Bondarenko 2023-08-19 05:58:50
fix: Typo in ChorusRaidFrame 61fb4f93c227e3b94a52df26eeffece12fe86e55 Vladyslav Bondarenko 2023-08-18 21:00:34
feat(build): Document build validation scripts d19d03c4a20c8c02fee8b4c1c00241c58baa12eb Vladyslav Bondarenko 2023-08-18 20:57:35
feat: Update raid frame ff5ad9619c6af14f7e1719cbaaf34fa0465c1f12 Vladyslav Bondarenko 2023-08-18 20:54:29
feat: Update add-on loading mechanism 2d8df81c17fbfcaf8d0bb966a3373503bb32a585 Vladyslav Bondarenko 2023-08-18 19:59:39
feat: Update progress frames on demand only 7c18488e61b5889eca4b057602fbc41883fc53f1 Vladyslav Bondarenko 2023-08-18 19:50:41
Commit 37217b1dc78c0a2b4711dc45ada0c4873e904a1f - fix: Show only meaningful numbers for health
When unit is dead hide health deficit and health percentage. Previously
when unit died the health frame showed meaningless random numbers.
Author: Vladyslav Bondarenko
Author date (UTC): 2023-08-21 13:32
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2023-08-21 13:32
Parent(s): 4fcfd5c7bf4626137a1251cbcbe54157055ac875
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 71c076a3dec3d90597571342c8006f9dc718f824
File Lines added Lines deleted
src/ChorusProgressFrameTemplate.lua 21 12
File src/ChorusProgressFrameTemplate.lua changed (mode: 100644) (index 0ee693c..8a5513d)
... ... local function applyOverlayHealth(self, unitDesignation)
193 193 local label1 = self.label1 local label1 = self.label1
194 194 assert(label1 ~= nil) assert(label1 ~= nil)
195 195
196 local artwork = self.artwork
197 assert(artwork ~= nil)
196 local label2 = self.label2
197 assert(label2 ~= nil)
198 198
199 --[[ TODO Use indicators instead of localized text for character alive statuses. ]]--
200 if UnitIsCorpse(unitDesignation) then
201 label1:SetText('(Corpse)')
202 elseif UnitIsGhost(unitDesignation) then
203 label1:SetText('(Ghost)')
204 elseif UnitIsDead(unitDesignation) then
205 label1:SetText('(Dead)')
206 else
207 local a = UnitHealth(unitDesignation) or 0
208 local b = UnitHealthMax(unitDesignation) or 1
199 local label3 = self.label3
200 assert(label3 ~= nil)
201
202 local u = unitDesignation
203 local a = UnitHealth(u)
204 local b = UnitHealthMax(u)
209 205
206 if a and b and a <= b and b >= 1 and not UnitIsDead(u) and not UnitIsCorpse(u) and not UnitIsGhost(u) then
210 207 applyOverlay(self, a, b) applyOverlay(self, a, b)
211 208 applyOverlayHealthDeficit(self, a, b) applyOverlayHealthDeficit(self, a, b)
209 else
210 label1:SetText(nil)
211 label2:SetText(nil)
212 label3:SetText(nil)
213 --[[ TODO Separate health status bar and unit statues. ]]--
214 if UnitIsCorpse(unitDesignation) then
215 label1:SetText('(Corpse)')
216 elseif UnitIsGhost(unitDesignation) then
217 label1:SetText('(Ghost)')
218 elseif UnitIsDead(unitDesignation) then
219 label1:SetText('(Dead)')
220 end
212 221 end end
213 222 end end
214 223
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main