ResourceType set for spell {SpellID: 12472} but no cost
Stack Trace:
goroutine 7 [running]:
runtime/debug.Stack(0x3f0b730, 0x7c7c0, 0x3dd5ec0)
/opt/hostedtoolcache/go/1.16.15/x64/src/runtime/debug/stack.go:24 +0x6
main.computeStats.func1(0x3f17ee8)
/home/runner/work/tbc/tbc/sim/wasm/main.go:45 +0x8
panic(0x7c7c0, 0x3dd5ec0)
/opt/hostedtoolcache/go/1.16.15/x64/src/runtime/panic.go:965 +0x19
github.com/wowsims/tbc/sim/core.(*Spell).wrapCastFuncResources(0x1438b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3e29518, 0x29e8d60800, ...)
/home/runner/work/tbc/tbc/sim/core/cast.go:112 +0x30
github.com/wowsims/tbc/sim/core.(*Spell).makeCastFunc(0x1438b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3e29518, 0x29e8d60800, ...)
/home/runner/work/tbc/tbc/sim/core/cast.go:70 +0x7
github.com/wowsims/tbc/sim/core.(*Unit).RegisterSpell(0x3f54000, 0x30b8, 0x0, 0x1800800000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/runner/work/tbc/tbc/sim/core/spell.go:112 +0x14
github.com/wowsims/tbc/sim/mage.(*Mage).registerIcyVeinsCD(0x3f54000)
/home/runner/work/tbc/tbc/sim/mage/talents.go:371 +0x1c
github.com/wowsims/tbc/sim/mage.(*Mage).ApplyTalents(0x3f54000)
/home/runner/work/tbc/tbc/sim/mage/talents.go:20 +0xa
github.com/wowsims/tbc/sim/core.(*Character).applyAllEffects(0x3f54000, 0x1ee128, 0x3f54000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, ...)
/home/runner/work/tbc/tbc/sim/core/character.go:148 +0x15
github.com/wowsims/tbc/sim/core.(*Raid).applyCharacterEffects(0x3003a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, ...)
/home/runner/work/tbc/tbc/sim/core/raid.go:232 +0x3a
github.com/wowsims/tbc/sim/core.(*Environment).initialize(0x3e25f80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, ...)
/home/runner/work/tbc/tbc/sim/core/environment.go:101 +0xe
github.com/wowsims/tbc/sim/core.NewEnvironment(0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, 0x4df72d0, ...)
/home/runner/work/tbc/tbc/sim/core/environment.go:40 +0x4
github.com/wowsims/tbc/sim/core.ComputeStats(...)
/home/runner/work/tbc/tbc/sim/core/api.go:38
main.computeStats(0x0, 0x0, 0x3dd5c10, 0x1, 0x1, 0x0, 0x0)
/home/runner/work/tbc/tbc/sim/wasm/main.go:64 +0x11
syscall/js.handleEvent()
/opt/hostedtoolcache/go/1.16.15/x64/src/syscall/js/func.go:96 +0x24
{
"player": {
"name": "Phase 1",
"class": "ClassMage",
"talentsString": "2500250300030150330125--053500031003001",
"equipment": {
"items": [
{
"id": 29076,
"enchant": 3002,
"gems": [
34220,
31116
]
},
{
"id": 28530
},
{
"id": 30925,
"enchant": 2982
},
{
"id": 22731,
"enchant": 2621
},
{
"id": 21848,
"enchant": 2661,
"gems": [
24047,
24047
]
},
{},
{
"id": 21847,
"enchant": 2937,
"gems": [
24047,
24047
]
},
{
"id": 21846,
"gems": [
24047,
24056
]
},
{
"id": 29078,
"enchant": 2748
},
{
"id": 28517,
"enchant": 2940,
"gems": [
24059,
24047
]
},
{},
{},
{
"id": 27683
},
{
"id": 29370
},
{
"id": 29155,
"enchant": 2669
},
{
"id": 28603
}
]
}
}
}
Request:
eJzjms7KdYOF6zRLEyN7QEZicaqCoQCzVB0Xj8CUx4xKbGu6mXo+M3KxCHy6ByLPfgSRpzcyAuVvrALKv9/NCERcDED+dSQ+j8A1KO/HbpCOaY9BYk/vAcV+w3QwAMUX3wDJ7noKIh8/BpG77wPllBi0LjAxjAKqgioGJzMuBiEDDiYB1gZmJgVWDWYDZgtGB1YP5gDmBMYMpgLWBibWDibmCUysC5iYVzAxbmBiPsDEKMXQxahuZGpgAMTGBgZAbAhkAEkjU11dA1NjU5CYIUjcwHAWI8MtRgYuKBQCJgsusnhCDFoMADYEQ2E=
ResourceType set for spell {SpellID: 12472} but no cost
Stack Trace:
goroutine 7 [running]:
runtime/debug.Stack(0x3f0b730, 0x7c7c0, 0x3dd5ec0)
/opt/hostedtoolcache/go/1.16.15/x64/src/runtime/debug/stack.go:24 +0x6
main.computeStats.func1(0x3f17ee8)
/home/runner/work/tbc/tbc/sim/wasm/main.go:45 +0x8
panic(0x7c7c0, 0x3dd5ec0)
/opt/hostedtoolcache/go/1.16.15/x64/src/runtime/panic.go:965 +0x19
github.com/wowsims/tbc/sim/core.(*Spell).wrapCastFuncResources(0x1438b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3e29518, 0x29e8d60800, ...)
/home/runner/work/tbc/tbc/sim/core/cast.go:112 +0x30
github.com/wowsims/tbc/sim/core.(*Spell).makeCastFunc(0x1438b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3e29518, 0x29e8d60800, ...)
/home/runner/work/tbc/tbc/sim/core/cast.go:70 +0x7
github.com/wowsims/tbc/sim/core.(*Unit).RegisterSpell(0x3f54000, 0x30b8, 0x0, 0x1800800000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/runner/work/tbc/tbc/sim/core/spell.go:112 +0x14
github.com/wowsims/tbc/sim/mage.(*Mage).registerIcyVeinsCD(0x3f54000)
/home/runner/work/tbc/tbc/sim/mage/talents.go:371 +0x1c
github.com/wowsims/tbc/sim/mage.(*Mage).ApplyTalents(0x3f54000)
/home/runner/work/tbc/tbc/sim/mage/talents.go:20 +0xa
github.com/wowsims/tbc/sim/core.(*Character).applyAllEffects(0x3f54000, 0x1ee128, 0x3f54000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, ...)
/home/runner/work/tbc/tbc/sim/core/character.go:148 +0x15
github.com/wowsims/tbc/sim/core.(*Raid).applyCharacterEffects(0x3003a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, ...)
/home/runner/work/tbc/tbc/sim/core/raid.go:232 +0x3a
github.com/wowsims/tbc/sim/core.(*Environment).initialize(0x3e25f80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, ...)
/home/runner/work/tbc/tbc/sim/core/environment.go:101 +0xe
github.com/wowsims/tbc/sim/core.NewEnvironment(0x0, 0x0, 0x0, 0x0, 0x0, 0x1447940, 0x5, 0x8, 0x14479c0, 0x4df72d0, ...)
/home/runner/work/tbc/tbc/sim/core/environment.go:40 +0x4
github.com/wowsims/tbc/sim/core.ComputeStats(...)
/home/runner/work/tbc/tbc/sim/core/api.go:38
main.computeStats(0x0, 0x0, 0x3dd5c10, 0x1, 0x1, 0x0, 0x0)
/home/runner/work/tbc/tbc/sim/wasm/main.go:64 +0x11
syscall/js.handleEvent()
/opt/hostedtoolcache/go/1.16.15/x64/src/syscall/js/func.go:96 +0x24
{
"player": {
"name": "Phase 1",
"class": "ClassMage",
"talentsString": "2500250300030150330125--053500031003001",
"equipment": {
"items": [
{
"id": 29076,
"enchant": 3002,
"gems": [
34220,
31116
]
},
{
"id": 28530
},
{
"id": 30925,
"enchant": 2982
},
{
"id": 22731,
"enchant": 2621
},
{
"id": 21848,
"enchant": 2661,
"gems": [
24047,
24047
]
},
{},
{
"id": 21847,
"enchant": 2937,
"gems": [
24047,
24047
]
},
{
"id": 21846,
"gems": [
24047,
24056
]
},
{
"id": 29078,
"enchant": 2748
},
{
"id": 28517,
"enchant": 2940,
"gems": [
24059,
24047
]
},
{},
{},
{
"id": 27683
},
{
"id": 29370
},
{
"id": 29155,
"enchant": 2669
},
{
"id": 28603
}
]
}
}
}
Request:
eJzjms7KdYOF6zRLEyN7QEZicaqCoQCzVB0Xj8CUx4xKbGu6mXo+M3KxCHy6ByLPfgSRpzcyAuVvrALKv9/NCERcDED+dSQ+j8A1KO/HbpCOaY9BYk/vAcV+w3QwAMUX3wDJ7noKIh8/BpG77wPllBi0LjAxjAKqgioGJzMuBiEDDiYB1gZmJgVWDWYDZgtGB1YP5gDmBMYMpgLWBibWDibmCUysC5iYVzAxbmBiPsDEKMXQxahuZGpgAMTGBgZAbAhkAEkjU11dA1NjU5CYIUjcwHAWI8MtRgYuKBQCJgsusnhCDFoMADYEQ2E=