Skip to content

Commit

Permalink
Bst error fixes for missing spells
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Mar 20, 2024
1 parent e6449d5 commit dcc38b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions class_configs/bst_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -717,23 +717,27 @@ return {
},
['HelperFunctions'] = {
BeastialAligmentCheck = function(self)
return not RGMercUtils.SongActiveByName(self.ResolvedActionMap['HHEFuryDisc'].RankName() or "None") and
local discSpell = self.ResolvedActionMap['HHEFuryDisc']
return discSpell and discSpell() and not RGMercUtils.SongActiveByName(discSpell.RankName()) and
not RGMercUtils.SongActiveByName('Bestial Alignment') and
not RGMercUtils.BuffActiveByName('Ferociousness')
end,
HHEFuryDiscCheckPrimary = function(self)
return not RGMercUtils.SongActiveByName(self.ResolvedActionMap['HHEFuryDisc'].RankName() or "None") and
local discSpell = self.ResolvedActionMap['HHEFuryDisc']
return discSpell and discSpell() and not RGMercUtils.SongActiveByName(discSpell.RankName()) and
not RGMercUtils.SongActiveByName('Bestial Alignment') and
not RGMercUtils.BuffActiveByName('Ferociousness') and
not RGMercUtils.PCAAReady("Bestial Alignment")
end,
HHEFuryDiscCheckSecondary = function(self)
return RGMercUtils.SongActiveByName(self.ResolvedActionMap['HHEFuryDisc'].RankName() or "None") and
local discSpell = self.ResolvedActionMap['HHEFuryDisc']
return discSpell and discSpell() and not RGMercUtils.SongActiveByName(discSpell.RankName()) and
not RGMercUtils.SongActiveByName('Bestial Alignment') and
not RGMercUtils.BuffActiveByName('Ferociousness')
end,
FerociousnessCheck = function(self)
return not RGMercUtils.SongActiveByName(self.ResolvedActionMap['HHEFuryDisc'].RankName() or "None") and
local discSpell = self.ResolvedActionMap['HHEFuryDisc']
return discSpell and discSpell() and not RGMercUtils.SongActiveByName(discSpell.RankName()) and
not RGMercUtils.SongActiveByName('Bestial Alignment')
end,
},
Expand Down Expand Up @@ -959,7 +963,7 @@ return {
name = "BeastialBuffDisc",
type = "Disc",
cond = function(self, discSpell, target)
return RGMercUtils.BuffActiveByID(discSpell.ID())
return RGMercUtils.BuffActive(discSpell)
end,
},
{
Expand Down
2 changes: 1 addition & 1 deletion extras/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = '6f71c9c 2024-03-17' }
return { commitId = 'e6449d5 2024-03-19' }

0 comments on commit dcc38b4

Please sign in to comment.