WeakAuras

WeakAuras

206M Downloads

soul shard trigger

scottmeyer5150 opened this issue ยท 1 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

getting lua error with everything i do. Mounting, disenchanting logging in

WeakAuras Version

5.13.3

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

1x Lua error in aura 'Soul Shard Bar': Trigger 1
WeakAuras Version: 5.15.3
Aura Version: 1.1.28
[string "return function(a, event, unit, ...)"]:17: attempt to call global 'GetSpellPowerCost' (a nil value)
[string "return function(a, event, unit, ...)"]:17: in function <[string "return function(a, event, unit, ...)"]:1>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/GenericTrigger.lua"]:640: in function <WeakAuras/GenericTrigger.lua:625>
[string "@WeakAuras/GenericTrigger.lua"]:897: in function `ScanEventsInternal'
[string "@WeakAuras/GenericTrigger.lua"]:842: in function `ScanEvents'
[string "@WeakAuras/GenericTrigger.lua"]:1127: in function <WeakAuras/GenericTrigger.lua:1112>

Locals:
a = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
}
event = "UNIT_SPELLCAST_START"
unit = "player"
e = <table> {
 cost = 0
 currentSpec = "Destruction"
 Doom = <table> {
 }
 region = Frame {
 }
 id = "Soul Shard Bar"
 config = <table> {
 }
 soulShardFrame = <table> {
 }
 ColorShardsSeparately = false
 consuming = 0
}
c = <table> {
 ShardCountOnMiddle = true
 showText = true
 AfflictionText = 1
 DestructionText = 1
 DemonologyText = 1
 TrackDoom = true
}
math = <table> {
 huge = Infinite
 pi = 3.141593
}
_ = "Cast-3-3885-0-891-41518-0027A2B7CE"
spellID = 41518
(*temporary) = nil
(*temporary) = 41518
(*temporary) = "attempt to call global 'GetSpellPowerCost' (a nil value)"

Reproduction Steps

getting lua error with everything i do. Mounting, disenchanting logging in

Last Good Version

yes before TWW pre-patch

Screenshots

No response

Export String

No response

Bisector Report

No response

commented

That's a custom coded aura that is using an API that was removed. GetSpellPowerCost is now in C_Spell. The discord can help you find a working aura or how to fix the code.