Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon: [1.7.61] - Added Shaman Elemental Mastery, Stormstrike, Nature's Swiftness buffs #650

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Addons/DataToColor/DataToColor.toc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Title: DataToColor
## Author: FreeHongKongMMO
## Notes: Displays data as colors
## Version: 1.7.60
## Version: 1.7.61
## RequiredDeps:
## OptionalDeps: Ace3, LibRangeCheck, LibClassicCasterino
## SavedVariables:
Expand Down
3 changes: 3 additions & 0 deletions Addons/DataToColor/Storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ function CreatePlayerBuffList()
DataToColor.S.playerBuffs[11] = { "Water Shield", [132315] = 1 }
DataToColor.S.playerBuffs[12] = { "Focused", [136027] = 1 } -- Shamanistic Focus
DataToColor.S.playerBuffs[13] = { "Stoneskin", [136098] = 1 }
DataToColor.S.playerBuffs[14] = { "Elemental Mastery", [136115] = 1 }
DataToColor.S.playerBuffs[15] = { "Stormstrike", [135963] = 1 }
DataToColor.S.playerBuffs[16] = { "Nature's Swiftness", [136076] = 1 }
elseif DataToColor.C.CHARACTER_CLASS == "HUNTER" then
DataToColor.S.playerBuffs[10] = { "Aspect of the Cheetah", [132242] = 1 }
DataToColor.S.playerBuffs[11] = { "Aspect of the Pack", [132267] = 1 }
Expand Down
10 changes: 7 additions & 3 deletions Core/AddonComponent/BuffStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,15 @@ public void Update(IAddonDataProvider reader)
// Shaman
public bool Lightning_Shield() => v[Mask._10];
public bool Water_Shield() => v[Mask._11];
[Names([
"Shamanistic Focus",
"Focused"])]

[Names(["Shamanistic Focus", "Focused"])]
public bool Shamanistic_Focus() => v[Mask._12];
public bool Stoneskin() => v[Mask._13];
public bool Elemental_Mastery() => v[Mask._14];
public bool Stormstrike() => v[Mask._15];

[Names(["Nature's Swiftness"])]
public bool Natures_Swiftness() => v[Mask._16];

// Hunter
public bool Aspect_of_the_Cheetah() => v[Mask._10];
Expand Down
5 changes: 5 additions & 0 deletions Json/class/Shaman_60_elemental_interrupt.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
},
"Combat": {
"Sequence": [
{
"Name": "Elemental Mastery",
"Key": "5",
"Requirement": "!Clearcasting && !Elemental Mastery"
},
{
"Name": "Chain Lightning",
"Key": "2",
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1820,6 +1820,9 @@ Allow requirements about what buffs/debuffs you have or the target has or in gen
| Shaman | `"Shamanistic Focus"` |
| Shaman | `"Focused"` |
| Shaman | `"Stoneskin"` |
| Shaman | `"Elemental Mastery"` |
| Shaman | `"Stormstrike"` |
| Shaman | `"Nature's Swiftness"` |
| Hunter | `"Aspect of the Cheetah"` |
| Hunter | `"Aspect of the Pack"` |
| Hunter | `"Aspect of the Hawk"` |
Expand Down