LUA Error Messages when Weapon is enchanted - Forte Unusable
CoreDi opened this issue · 4 comments
Hi,
sadly the Addon is not useable when Weapon is enchanted with like Windfury or Wizard Oil.
Maybe it is fixable?
Error Message copied from:
https://www.curseforge.com/wow/addons/fortexorcist-tbc-classic (User: Moreorlessmaybe)
1145x Forte_Cooldown\Forte_Cooldown.lua:831: attempt to perform arithmetic on local 'offHandExpiration' (a boolean value)
[string "@Forte_Cooldown\Forte_Cooldown.lua"]:831: in function `?'
[string "@Forte_Core\Forte_Core-2.5.1.lua"]:1957: in function `v'
[string "@Forte_Core\Forte_Core-2.5.1.lua"]:383: in function <Forte_Core\Forte_Core.lua:368>
Locals:
hasMainHandEnchant = true
mainHandExpiration = 0
mainHandCharges = 0
hasOffHandEnchant = 2638
offHandExpiration = false
offHandCharges = nil
hasThrownEnchant = nil
thrownExpiration = nil
thrownCharges = false
(*temporary) = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:377
(*temporary) = <table> {
AddHiddenCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:142
CD = <table> {
}
AddCasterPowerupCooldowns = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1595
FLAG_BUFF = "Buff"
CheckCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:377
HiddenCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:450
AddMeleePowerupCooldowns = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1575
AddCooldownPowerup = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:154
Masters = <table> {
}
RegisterOnCooldownUpdate = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:884
AddCooldownBuff = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:160
RegisterOnCooldownReady = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:880
RegisterOnCooldownUsed = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:876
FilterChange = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1494
FLAG_ENCHANT = "Enchant"
}
(*temporary) = "Weapon Enchant (off-hand)"
(*temporary) = 2247.933000
(*temporary) = 2247.933000
(*temporary) = 135144
(*temporary) = "Enchant"
(*temporary) = 2.990000
(*temporary) = nil
(*temporary) = 2247.933000
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'offHandExpiration' (a boolean value)"
CD = <table> {
AddHiddenCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:142
CD = <table> {
}
AddCasterPowerupCooldowns = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1595
FLAG_BUFF = "Buff"
CheckCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:377
HiddenCooldown = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:450
AddMeleePowerupCooldowns = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1575
AddCooldownPowerup = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:154
Masters = <table> {
}
RegisterOnCooldownUpdate = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:884
AddCooldownBuff = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:160
RegisterOnCooldownReady = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:880
RegisterOnCooldownUsed = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:876
FilterChange = <function> defined @Forte_Cooldown\Forte_Cooldown.lua:1494
FLAG_ENCHANT = "Enchant"
}
FWL = <table> {
COOLDOWNS = "Cooldowns"
CC = "Crowd control"
DISPLAY_MODES8_TT = "Shows the 'id' number of each unit in front of its name. This way you can distinguish between units with the same name."
ICON_FONT = "Icon Font"
CHANNEL_TT = "Show Channelled spells. This also includes Drains."
MAX_DURATION = "Maximum duration"
NORMAL_TYPE_TT = "Normal Spell Types"
EXTRA1 = "Show Raid Target Icons"
UPDATE_INTERVAL_ANIMATIONS = "Update interval animations"
TIMER_SPARK_TT = "Show sparks at the appropriate place in the bars."
CD_SPLASH5_TT = "The splash icon will smoothly fade in and out again. This is the scale from which the icon starts to grow and fades back to again."
RAID_MESSAGES_HINT2 = "You can disable all messages to party/raid and/or channel, or every message separately."
CUSTOMIZE = "Customize"
FADING4 = "Fade time (animation)"
CD_SPLASH6 = "Secondary Splash Maximum scale"
DISPLAY_MODES10_TT = "With the 'Group by unit' option on, unit name tags will appear for each bar group."
PROFILES_CURRENT = "Current Profile"
DISPLAY_TYPES5 = "Show failed spells"
Fixed from @wixia , closed.