Subject | Hash | Author | Date (UTC) |
---|---|---|---|
feat: spell channel bar moves in reverse | 64e0512304854e28df8ad94363a048fd997dc502 | Vladyslav Bondarenko | 2024-06-16 19:19:53 |
doc: valid references to github | 6aba3821b71216c07d8f02b24f75006e556dca61 | Vladyslav Bondarenko | 2024-06-16 17:28:59 |
build: allow either GNUmake or pdpmake to be used | 4f3cd088299dc09f5207caeeddedfcca461d439e | Vladyslav Bondarenko | 2024-06-16 15:52:32 |
doc: add minimal documentation | 125835dbbef41528e4f545642f62e519e7e8f9fc | Vladyslav Bondarenko | 2024-06-16 15:34:58 |
doc: descript aura button API | 7d110e3d397a335d2dc0ffbf699acc487730d0d8 | Vladyslav Bondarenko | 2024-06-16 13:24:52 |
feat: add ldoc custom see tag handler | d28dc9809939a99694d87cf1d0654eb0e2fcd314 | Vladyslav Bondarenko | 2024-06-16 13:23:24 |
feat: add optional xmlstarlet support | b2db46335cb4aa461c45915d235c6d8d340a3dea | Vladyslav Bondarenko | 2024-06-16 09:57:27 |
fix: indent Chorus.xml with tabs and not spaces | bf4091ab69c75aafa9256b0503b5addd316e214f | Vladyslav Bondarenko | 2024-06-16 09:39:28 |
fix: format generated XML with tabs and not spaces | d0018a28b184add22ea69f86c8b334a72310004e | Vladyslav Bondarenko | 2024-06-16 09:26:54 |
doc: raid frame profile generator script | 22deb6f002463583ef5fd5c1acfcfb5777329aa8 | Vladyslav Bondarenko | 2024-06-15 21:55:01 |
feat: add fallback offline label | a621e23fe7dc5668f0525dcc2bc60d916c2a1c14 | Vladyslav Bondarenko | 2024-06-15 19:08:05 |
fix: add test mocks for background and backdrop | 2b22abbcb266bb02bded0633301e1669ed1b040d | Vladyslav Bondarenko | 2024-06-15 19:07:40 |
fix: render raid target icon above health | cb950c903e6fe0a8078ea06473ce3a01157e55cc | Vladyslav Bondarenko | 2024-06-15 19:06:13 |
fix: shift solo frames left | 4ba54a74c54b3bc68411fa8882ebd08a93587a1d | Vladyslav Bondarenko | 2024-06-15 19:04:37 |
fix!: render raid frames correctly | cdb44a8f8ed5a356651d7119f8fd9441dda2c058 | Vladyslav Bondarenko | 2024-06-15 19:01:13 |
fix: disable raid profiles for now | 41ed89dc4f78561e90ba999d00e95e0b1dc3f2a8 | Vladyslav Bondarenko | 2024-06-15 05:52:14 |
feat!: add raid group profiles | 57b4b36b800beaf6843bc3cfc954340d914b71fa | Vladyslav Bondarenko | 2024-06-14 22:19:47 |
feat!: prepare nightly release 0.8.0 | e11a3bbdfad85e4c4716e4ecfd3e7f5b8f009058 | Vladyslav Bondarenko | 2024-06-14 15:33:18 |
fix: globalize string constants | cc5893ba83f388c0a58b183321f63867b10248ad | Vladyslav Bondarenko | 2024-06-14 15:12:35 |
feat: always show player frame | 1eb20501d74ee931691f02abc31a176569a7d299 | Vladyslav Bondarenko | 2024-06-14 14:34:42 |
File | Lines added | Lines deleted |
---|---|---|
src/ChorusCastFrameTemplate.lua | 14 | 2 |
File src/ChorusCastFrameTemplate.lua changed (mode: 100644) (index bacfe08..672b303) | |||
... | ... | local function applyCurrentInstanceMili(self, nowMili) | |
164 | 164 | nowMili = math.abs(nowMili) | nowMili = math.abs(nowMili) |
165 | 165 | assert(nowMili >= 0) | assert(nowMili >= 0) |
166 | 166 | ||
167 | self:SetValue(nowMili) | ||
167 | if self.strategy and 2 == self.strategy then | ||
168 | local a, b = self:GetMinMaxValues() | ||
169 | self:SetValue((a + b) - nowMili) | ||
170 | else | ||
171 | self:SetValue(nowMili) | ||
172 | end | ||
168 | 173 | end | end |
169 | 174 | ||
170 | 175 | local function castFrameEventProcessor(self, eventCategory, ...) | local function castFrameEventProcessor(self, eventCategory, ...) |
... | ... | local function castFrameEventProcessor(self, eventCategory, ...) | |
183 | 188 | local label2 = self.label2 or _G[self:GetName() .. 'Text2'] | local label2 = self.label2 or _G[self:GetName() .. 'Text2'] |
184 | 189 | assert(label2 ~= nil) | assert(label2 ~= nil) |
185 | 190 | ||
186 | local spellName, _, _, pictureFile, startInstance, endInstance, _, _, shieldedFlag = getCastInfo(u) | ||
191 | local spellName, _, _, pictureFile, startInstance, endInstance, _, _, shieldedFlag = UnitCastingInfo(u) | ||
192 | if spellName then | ||
193 | self.strategy = 1 | ||
194 | else | ||
195 | spellName, _, _, pictureFile, startInstance, endInstance, _, _, shieldedFlag = UnitChannelInfo(u) | ||
196 | self.strategy = 2 | ||
197 | end | ||
187 | 198 | ||
188 | 199 | local castOngoingFlag = spellName ~= nil | local castOngoingFlag = spellName ~= nil |
189 | 200 | if castOngoingFlag then | if castOngoingFlag then |
... | ... | local function castFrameEventProcessor(self, eventCategory, ...) | |
200 | 211 | applySpellName(self, spellName) | applySpellName(self, spellName) |
201 | 212 | self:Show() | self:Show() |
202 | 213 | else | else |
214 | self.strategy = nil | ||
203 | 215 | self:Hide() | self:Hide() |
204 | 216 | end | end |
205 | 217 | end | end |