Mercurial > wow > reaction
comparison classes/ReAction_ActionDisplay.lua @ 9:650f75d08952
Version 0.32
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Tue, 20 Mar 2007 21:35:57 +0000 |
| parents | c05fd3e18b4f |
| children | f3a7bfebc283 |
comparison
equal
deleted
inserted
replaced
| 8:c05fd3e18b4f | 9:650f75d08952 |
|---|---|
| 228 end | 228 end |
| 229 self:DisplayVisibility() | 229 self:DisplayVisibility() |
| 230 end | 230 end |
| 231 | 231 |
| 232 function RAAD:DisplayCooldown( start, duration, enable ) | 232 function RAAD:DisplayCooldown( start, duration, enable ) |
| 233 enable = enable and not self.config.hideCooldown and (not self.config.hideGlobalCooldown or duration > 1.5) | 233 enable = (enable > 0 ) and not self.config.hideCooldown and (not self.config.hideGlobalCooldown or duration > 1.5) and 1 or 0 |
| 234 CooldownFrame_SetTimer(self.frames.cooldown, start, duration, enable) | 234 CooldownFrame_SetTimer(self.frames.cooldown, start, duration, enable) |
| 235 end | 235 end |
| 236 | 236 |
| 237 function RAAD:DisplayName( name ) | 237 function RAAD:DisplayName( name ) |
| 238 self.frames.macro:SetText(name and tostring(name) or "") | 238 self.frames.macro:SetText(name and tostring(name) or "") |
