Commit 9d99499
authored
Fix CwC crash when using skills form items and multiple link groups (#9682)
* FIX: CwC crash when using skills form items and multiple link groups
Due to the triggerTime being on the support part that supports the
triggering channeled skill the CwC handler relies on the triggerTime
property stored in the skillData table of the trigger source skill. This
is problematic since the slotMatch logic for triggered skills coming
from items checks all socket groups in a given item regardless of
whether they are crosslinked with cast while channeling or not. This pr
reworks the trigger source finding logic for cast while channeling to
both speed it up and fix this issue.
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
* FIX: only calc canSupport if not source
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
* FIX: crash caused by phantasm support being copied with mirage skills that take over mainSKill
---------
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>1 parent 3d1d93c commit 9d99499
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | | - | |
| 234 | + | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
| |||
0 commit comments