skip co, remove absorb buff when you get absorption, don't trigger some effects when ko

This commit is contained in:
Mashy
2019-09-29 17:56:05 +10:00
parent dab3b8da53
commit 765d82bc62
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -74,8 +74,8 @@ function getObjects(resolution, stages, game, account) {
function getSequence(resolution) {
if (!resolution.event) return [];
if (resolution.event[0] === 'Inversion') return [];
if (['TargetKo', 'Ko'].includes(resolution.event[0])) return [];
if (['Skill', 'AoeSkill'].includes(resolution.event[0])) return ['START_SKILL', 'END_SKILL'];
if (resolution.event[0] === 'Ko') return ['POST_SKILL'];
switch (resolution.stages) {
case 'AllStages': return ['START_SKILL', 'END_SKILL', 'POST_SKILL'];