Skip to content

Commit

Permalink
Fix feral AP
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Dec 3, 2023
1 parent d11164c commit 8512f0e
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 18 deletions.
12 changes: 12 additions & 0 deletions libs/StatLogic/Cata_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,18 @@ local BuffGroup = {
StatLogic.StatModTable = {}
if addon.class == "DRUID" then
StatLogic.StatModTable["DRUID"] = {
["ADD_AP_MOD_FERAL_AP"] = {
-- Cat Form
{
["value"] = 1,
["buff"] = 768,
},
-- Bear Form
{
["value"] = 1,
["buff"] = 5487,
},
},
["ADD_AP_MOD_STR"] = {
{
["value"] = 1,
Expand Down
17 changes: 17 additions & 0 deletions libs/StatLogic/TBC_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,23 @@ addon.DodgePerAgiMaxLevel = {}
StatLogic.StatModTable = {}
if addon.class == "DRUID" then
StatLogic.StatModTable["DRUID"] = {
["ADD_AP_MOD_FERAL_AP"] = {
-- Cat Form
{
["value"] = 1,
["buff"] = 768,
},
-- Bear Form
{
["value"] = 1,
["buff"] = 5487,
},
-- Dire Bear Form
{
["value"] = 1,
["buff"] = 9634,
},
},
["ADD_AP_MOD_STR"] = {
{
["value"] = 2,
Expand Down
17 changes: 17 additions & 0 deletions libs/StatLogic/Vanilla_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,23 @@ local BuffGroup = {
StatLogic.StatModTable = {}
if addon.class == "DRUID" then
StatLogic.StatModTable["DRUID"] = {
["ADD_AP_MOD_FERAL_AP"] = {
-- Cat Form
{
["value"] = 1,
["buff"] = 768,
},
-- Bear Form
{
["value"] = 1,
["buff"] = 5487,
},
-- Dire Bear Form
{
["value"] = 1,
["buff"] = 9634,
},
},
["ADD_AP_MOD_STR"] = {
{
["value"] = 2,
Expand Down
36 changes: 19 additions & 17 deletions libs/StatLogic/Wrath_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,23 @@ local BuffGroup = {
StatLogic.StatModTable = {}
if addon.class == "DRUID" then
StatLogic.StatModTable["DRUID"] = {
["ADD_AP_MOD_FERAL_AP"] = {
-- Cat Form
{
["value"] = 1,
["buff"] = 768,
},
-- Bear Form
{
["value"] = 1,
["buff"] = 5487,
},
-- Dire Bear Form
{
["value"] = 1,
["buff"] = 9634,
},
},
["ADD_AP_MOD_STR"] = {
{
["value"] = 2,
Expand Down Expand Up @@ -1211,24 +1228,9 @@ if addon.class == "DRUID" then
["buff"] = 9634, -- ["Dire Bear Form"],
},
},
--if class == "DRUID" and select(5, GetTalentInfo(2, 10)) > 0 and weaponItemEquipLoc[select(9, GetItemInfo(link))] then
-- Druid: Predatory Strikes (Rank 3) - 2,10
-- Increases your melee attack power in Cat, Bear and Dire Bear Forms by
-- 7,14,20% of any attack power on your equipped weapon.
["ADD_AP_MOD_FERAL_AP"] = {
{
["value"] = 1,
["buff"] = 32356, -- ["Cat Form"],
},
{
["value"] = 1,
["buff"] = 32357, -- ["Bear Form"],
},
{
["value"] = 1,
["buff"] = 9634, -- ["Dire Bear Form"],
},
},
-- Increases your melee attack power in Cat, Bear and Dire Bear Forms by
-- 7,14,20% of any attack power on your equipped weapon.
["MOD_FERAL_AP"] = {
{
["tab"] = 2,
Expand Down
2 changes: 1 addition & 1 deletion libs/StatLogic/locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ L["StatIDLookup"] = {
["Increases attack powerwhen fighting Undead. It also allows the acquisition of Scourgestones on behalf of the Argent Dawn"] = {"AP_UNDEAD",}, -- [Seal of the Dawn] ID:13209
["Increases attack powerwhen fighting Demons"] = {"AP_DEMON",},
["Increases attack powerwhen fighting Undead and Demons"] = {"AP_UNDEAD", "AP_DEMON",}, -- [Mark of the Champion] ID:23206
["Attack Power in Cat, Bear, and Dire Bear forms only"] = {"FERAL_AP",},
["Increases attack powerin Cat"] = {"FERAL_AP",},
["attack power in cat"] = {"FERAL_AP",},
["Ranged Attack Power"] = {"RANGED_AP",},
["Increases ranged attack power"] = {"RANGED_AP",}, -- [High Warlord's Crossbow] ID: 18837

Expand Down

0 comments on commit 8512f0e

Please sign in to comment.