Skip to content

Commit

Permalink
Update Druid form availability on Classic, fixes #186
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Dec 18, 2023
1 parent 778158a commit 7da5ef4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
* The MINOR component is used whenever a version has backwards-compatible profile changes. This also indicates that the user can not switch back to a previous MINOR version without using a backup.
* The PATCH component is used for versions that do not contain profile format changes. Users can freely switch between PATCH versions without risk of data loss.

## [1.14.2] - 2023-12-19

### Fixed

* Fix Lua error on Classic Era when accessing macro conditions on a Druid [#186]
* Display both Tree of Life and Moonkin Form in the Form macro condition for Druid on Classic Era

## [1.14.1] - 2023-12-03

### Added
Expand Down Expand Up @@ -1247,7 +1254,8 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel

* Initial public release

[Unreleased]: https://github.com/Snakybo/Clicked/compare/1.14.1...master
[Unreleased]: https://github.com/Snakybo/Clicked/compare/1.14.2...master
[1.14.2]: https://github.com/Snakybo/Clicked/releases/tag/1.14.2
[1.14.1]: https://github.com/Snakybo/Clicked/releases/tag/1.14.1
[1.14.0]: https://github.com/Snakybo/Clicked/releases/tag/1.14.0
[1.13.5]: https://github.com/Snakybo/Clicked/releases/tag/1.13.5
Expand Down Expand Up @@ -1354,6 +1362,7 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
[0.4.0]: https://github.com/Snakybo/Clicked/releases/tag/0.4.0
[0.3.0]: https://github.com/Snakybo/Clicked/releases/tag/0.3.0

[#186]: https://github.com/Snakybo/Clicked/issues/186
[#184]: https://github.com/Snakybo/Clicked/issues/184
[#182]: https://github.com/Snakybo/Clicked/issues/182
[#181]: https://github.com/Snakybo/Clicked/issues/181
Expand Down
8 changes: 6 additions & 2 deletions Clicked/Core/Utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,15 @@ elseif Addon:IsGameVersionAtleast("CLASSIC") then
{ 1066 }, -- Aquatic Form
{ 768 }, -- Cat Form
{ 783 }, -- Travel Form
{ 24858, 33891 }, -- Moonkin Form, Tree of Life Form
{ 40120, 33943 } -- Swift Flight Form, Flight Form
{ 24858 }, -- Moonkin Form
}
}

if Addon:IsGameVersionAtleast("BC") then
table.insert(shapeshiftForms["DRUID"], { 33891 }) -- Tree of Life
table.insert(shapeshiftForms["DRUID"], { 40120, 33943 }) -- Swift Flight Form, Flight Form
end

if Addon:IsGameVersionAtleast("WOTLK") then
local DEATHKNIGHT = "DEATHKNIGHT"

Expand Down

0 comments on commit 7da5ef4

Please sign in to comment.