File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,10 +224,12 @@ local function CWCHandler(env)
224224 local output = env .player .output
225225 local breakdown = env .player .breakdown
226226 for _ , skill in ipairs (env .player .activeSkillList ) do
227- local canSupport = env .player .mainSkill .triggeredBy .gemData and calcLib .canGrantedEffectSupportActiveSkill (env .player .mainSkill .triggeredBy .gemData .grantedEffect , skill )
228227 local slotMatch = slotMatch (env , skill )
229- if not source and skill .skillData .triggerTime and canSupport and skill ~= env .player .mainSkill and slotMatch and not isTriggered (skill ) then
230- source = skill
228+ if not source then
229+ local canSupport = env .player .mainSkill .triggeredBy .gemData and calcLib .canGrantedEffectSupportActiveSkill (env .player .mainSkill .triggeredBy .gemData .grantedEffect , skill )
230+ if skill .skillData .triggerTime and canSupport and skill ~= env .player .mainSkill and slotMatch and not isTriggered (skill ) then
231+ source = skill
232+ end
231233 end
232234 if skill .skillData .triggeredWhileChannelling and slotMatch then
233235 t_insert (triggeredSkills , packageSkillDataForSimulation (skill , env ))
You can’t perform that action at this time.
0 commit comments