-
Notifications
You must be signed in to change notification settings - Fork 30
Description
runtime error: invalid memory address or nil pointer dereference
Stack Trace:
goroutine 31 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/debug/stack.go:24 +0x6
github.com/wowsims/tbc/sim/core.runSim.func1()
/home/runner/work/tbc/tbc/sim/core/sim.go:53 +0x10
panic({0x92460, 0xa4c440})
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/panic.go:838 +0x29
github.com/wowsims/tbc/sim/core.(*Spell).Cast(...)
/home/runner/work/tbc/tbc/sim/core/spell.go:188
github.com/wowsims/tbc/sim/common.init.4.func27.3(0x54fd680, 0x4a14620, 0x67849c0, 0x676eb40)
/home/runner/work/tbc/tbc/sim/common/melee_items.go:870 +0x24
github.com/wowsims/tbc/sim/core.(*auraTracker).OnSpellHitDealt(...)
/home/runner/work/tbc/tbc/sim/core/aura.go:642
github.com/wowsims/tbc/sim/core.(*SpellEffect).finalize(0x676eb40, 0x4a14620, 0x67849c0)
/home/runner/work/tbc/tbc/sim/core/spell_effect.go:214 +0xf2
github.com/wowsims/tbc/sim/core.ApplyEffectFuncDirectDamage.func2(0x4a14620, 0x1552d80, 0x67849c0)
/home/runner/work/tbc/tbc/sim/core/spell.go:244 +0x26
github.com/wowsims/tbc/sim/core.(*Spell).applyEffects(0x67849c0, 0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/spell.go:209 +0x1a
github.com/wowsims/tbc/sim/core.(*Spell).makeCastFuncWait.func1(0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/cast.go:253 +0x12
github.com/wowsims/tbc/sim/core.(*Spell).makeCastFuncWait.func3(0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/cast.go:284 +0x49
github.com/wowsims/tbc/sim/core.(*Spell).wrapCastFuncResources.func1(0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/cast.go:118 +0x4
github.com/wowsims/tbc/sim/core.(*Spell).Cast(...)
/home/runner/work/tbc/tbc/sim/core/spell.go:188
github.com/wowsims/tbc/sim/core.(*AutoAttacks).TrySwingMH(0x6e60820, 0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/attack.go:445 +0x12
github.com/wowsims/tbc/sim/core.(*AutoAttacks).SwingMelee(0x6e60820, 0x4a14620, 0x1552d80)
/home/runner/work/tbc/tbc/sim/core/attack.go:429 +0x2
github.com/wowsims/tbc/sim/core.(*AutoAttacks).resetAutoSwing.func1(0x4a14620)
/home/runner/work/tbc/tbc/sim/core/attack.go:349 +0x6
github.com/wowsims/tbc/sim/core.(*Simulation).runOnce(0x4a14620)
/home/runner/work/tbc/tbc/sim/core/sim.go:282 +0x14
github.com/wowsims/tbc/sim/core.(*Simulation).run(0x4a14620)
/home/runner/work/tbc/tbc/sim/core/sim.go:220 +0x19
github.com/wowsims/tbc/sim/core.runSim({{{}, {}, {}, 0x14810a8}, 0x0, {0x0, 0x0, 0x0}, 0x4b22a10, 0x66c92c0, ...}, ...)
/home/runner/work/tbc/tbc/sim/core/sim.go:99 +0x25
github.com/wowsims/tbc/sim/core.RunSim({{{}, {}, {}, 0x14810a8}, 0x0, {0x0, 0x0, 0x0}, 0x4b22a10, 0x66c92c0, ...}, ...)
/home/runner/work/tbc/tbc/sim/core/sim.go:39 +0x2
created by github.com/wowsims/tbc/sim/core.RunRaidSimAsync
/home/runner/work/tbc/tbc/sim/core/api.go:74 +0xa
Request:
eJztUr9rFEEY3ffNzbI3URhWhfGqy6UwBIS5PRZilU2n2KSUFEELBcFGsUisVqszaYIQ8qNQ/wCLK4VIDDmDsQti8BTxNrIRLRThLiRNwJndiOm0uMLCN8PHzPu+9z7mh1hzxUcunvF7cMduXJm6essrSrf0AkLK7ieoeoqKu3iAg2WIglzfsfzcO6jWtuENuWd4T8YJ1Jv7JE7IXaNpLqNSNLnOr/RKCvXapKWceQu1O59Lc8vnKYxs3Ri0PxtZJ5OZaYrvtqH2PuTFnax4K7Hxa9vGlzs2Pty2DdIu1KPG0VVBpgkqpQYVYkKdxAa5CfEW8UnWQmGWYWiTnP/oKe54HiIoGsb4qHAVPJS5H0quWJk0hini52kWFDO2APYYvAG+CmyAt0AJ2BfQD2Af3LxYyZnGgNZhLdDVIAzO6qBW02FVB4bT1VCbfVA1xBKc93DE4fBPeVgADWKSYrCn1t42FMfE7xLn73c+DdLQgIQyp4qBMbqEy8b6+rUM30duZqdefRD5M6yYX8FE1J8vTkanlxYtXo3436h8QdE/++FuRz2xYSt/8LnYmz5HcC6L9WY0ekhE9oVKfV79jGw+Wese1/gJ/+OMsg==
I'm pretty sure this is caused by equipping two blinkstrikes