Skip source for all ticks, fix throw sequence
This commit is contained in:
parent
a45cbbcae8
commit
cbe75ead32
@ -193,8 +193,10 @@ function eventClasses(resolution, cryp) {
|
||||
function getCombatSequence(event) {
|
||||
if (!event) return false;
|
||||
// Skip combat animations depending on event type, expandable in future
|
||||
if (['Ko'].includes(event[0])) return ['POST_SKILL'];
|
||||
if (['DecayTick'].includes(event[1].skill)) return ['END_SKILL', 'POST_SKILL'];
|
||||
const dotTicks = ['DecayTick', 'CorruptionTick', 'TriageTick', 'SiphonTick', 'StrangleTick'];
|
||||
if (['Ko'].includes(event[0])
|
||||
|| (event[1].skill === 'Throw' && event[1].effect === 'Vulnerable')) return ['POST_SKILL'];
|
||||
if (dotTicks.includes(event[1].skill)) return ['END_SKILL', 'POST_SKILL'];
|
||||
return ['START_SKILL', 'END_SKILL', 'POST_SKILL'];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user