-
Notifications
You must be signed in to change notification settings - Fork 142
Description
runtime error: index out of range [25] with length 25
Stack Trace:
goroutine 6 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.21.12/x64/src/runtime/debug/stack.go:24 +0x6
main.computeStats.func1()
/home/runner/work/wotlk/wotlk/sim/wasm/main.go:49 +0x10
panic({0x1838c0, 0x401f038})
/opt/hostedtoolcache/go/1.21.12/x64/src/runtime/panic.go:914 +0x2c
github.com/wowsims/wotlk/sim/warlock.(*Warlock).setupDemonicPact(0x409c000)
/home/runner/work/wotlk/wotlk/sim/warlock/talents.go:561 +0x4e
github.com/wowsims/wotlk/sim/warlock.(*Warlock).ApplyTalents(0x409c000)
/home/runner/work/wotlk/wotlk/sim/warlock/talents.go:30 +0xd
github.com/wowsims/wotlk/sim/core.(*Character).applyAllEffects(0x409c000, {0x34cfc8, 0x409c000}, 0x3bd8780, 0x3bc1000, 0x3bf4100)
/home/runner/work/wotlk/wotlk/sim/core/character.go:266 +0x12
github.com/wowsims/wotlk/sim/core.(*Raid).applyCharacterEffects(0x2870c60, 0x2baab00)
/home/runner/work/wotlk/wotlk/sim/core/raid.go:295 +0x3c
github.com/wowsims/wotlk/sim/core.(*Environment).initialize(0x2b0f800, 0x2baab00, 0x314b340)
/home/runner/work/wotlk/wotlk/sim/core/environment.go:130 +0x19
github.com/wowsims/wotlk/sim/core.NewEnvironment(0x2baab00, 0x314b340, 0x1)
/home/runner/work/wotlk/wotlk/sim/core/environment.go:55 +0x4
github.com/wowsims/wotlk/sim/core.ComputeStats(0x30d6a80)
/home/runner/work/wotlk/wotlk/sim/core/api.go:20 +0x6
main.computeStats({{}, 0x0, 0x0}, {0x30820c0, 0x1, 0x1})
/home/runner/work...