Skip to content

Commit

Permalink
mage reversed logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nandor committed Jan 10, 2024
1 parent 5f561b8 commit ec1d0a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions class_configs/mag_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ _ClassConfig = {
name = "PetManaConv",
type = "Spell",
cond = function(self, spell)
return RGMercUtils.BuffActiveByName(mq.TLO.Spell(spell.AutoCast() or "").Name() or "") and mq.TLO.Me.Pet.ID() > 0
return not RGMercUtils.BuffActiveByName(mq.TLO.Spell(spell.AutoCast() or "").Name() or "") and mq.TLO.Me.Pet.ID() > 0
end,
},
{
Expand Down Expand Up @@ -1939,7 +1939,7 @@ _ClassConfig = {
name = "PetManaConv",
type = "Spell",
cond = function(self, spell)
return RGMercUtils.BuffActiveByName(mq.TLO.Spell(spell.AutoCast() or "").Name() or "") and mq.TLO.Me.Pet.ID() > 0
return not RGMercUtils.BuffActiveByName(mq.TLO.Spell(spell.AutoCast() or "").Name() or "") and mq.TLO.Me.Pet.ID() > 0
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 = '1a0ded6 2024-01-10' }
return { commitId = '5f561b8 2024-01-10' }

0 comments on commit ec1d0a7

Please sign in to comment.