-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oopsy: add Sophia Extreme/Unreal (#5444)
- Loading branch information
Showing
4 changed files
with
157 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import NetRegexes from '../../../../../resources/netregexes'; | ||
import ZoneId from '../../../../../resources/zone_id'; | ||
import { OopsyData } from '../../../../../types/data'; | ||
import { OopsyTriggerSet } from '../../../../../types/oopsy'; | ||
import { playerDamageFields } from '../../../oopsy_common'; | ||
|
||
// TODO: failing Discordant Cleansing | ||
|
||
const triggerSet: OopsyTriggerSet<OopsyData> = { | ||
zoneId: ZoneId.ContainmentBayS1T7Extreme, | ||
damageWarn: { | ||
'SophiaEx Thunder II': '19B0', // untelegraphed front cleave | ||
'SophiaEx Aero III': '19AE', // "get out" | ||
'SophiaEx Thunder III': '19AC', // "get under" | ||
'Sophia Ex Aion Teleos Execute 1': '19B1', // Thunder II duplication | ||
'Sophia Ex Aion Teleos Execute 2': '19AF', // Aero III duplication | ||
'Sophia Ex Aion Teleos Execute 3': '19AD', // Thunder III duplication | ||
'SophiaEx Gnosis': '19C2', // knockback | ||
'SophiaEx The Third Demiurge Ring of Pain': '19BA', // circle that leaves a frost puddle | ||
'SophiaEx The Third Demiurge Gnostic Spear': '19B9', // 270 degree untelegraphed cleave | ||
'SophiaEx Onrush': '19C1', // dash | ||
'SophiaEx Barbelo Light Dew': '19BF', // line laser from Barbelo head | ||
}, | ||
damageFail: { | ||
'SophiaEx The First Demiurge Revengeance': '19BD', // hitting Vertical/Horizontal Kenoma | ||
}, | ||
gainsEffectWarn: { | ||
'SophiaEx Frostbite': '25D', // standing in the frost puddle from the Third Demiurge | ||
}, | ||
triggers: [ | ||
{ | ||
// Look away; does damage if failed. | ||
id: 'SophiaEx The Second Demiurge Divine Spark', | ||
type: 'Ability', | ||
netRegex: NetRegexes.ability({ id: '19B6', ...playerDamageFields }), | ||
condition: (data, matches) => data.DamageFromMatches(matches) > 0, | ||
mistake: (_data, matches) => { | ||
return { | ||
type: 'warn', | ||
blame: matches.target, | ||
reportId: matches.targetId, | ||
text: matches.ability, | ||
}; | ||
}, | ||
}, | ||
{ | ||
id: 'SophiaEx Knocked Off', | ||
type: 'Ability', | ||
// 1981 = The Scales of Wisdom | ||
// 1AE1 = The Scales of Wisdom | ||
// 19C2 = Gnosis (knockback from Barbelo add) | ||
// Technically, things like Aero III and keroma also knock people off but they also can kill people | ||
// if we ever get proper "you fell off" log lines, we can fix this up. | ||
netRegex: NetRegexes.ability({ id: ['1981', '1AE1', '19C2'] }), | ||
deathReason: (_data, matches) => { | ||
return { | ||
id: matches.targetId, | ||
name: matches.target, | ||
text: { | ||
en: 'Knocked off', | ||
de: 'Runtergefallen', | ||
fr: 'Renversé(e)', | ||
ja: 'ノックバック', | ||
cn: '击退坠落', | ||
ko: '넉백', | ||
}, | ||
}; | ||
}, | ||
}, | ||
], | ||
}; | ||
|
||
export default triggerSet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// This file was autogenerated from running ts-node util/sync_files.ts. | ||
// DO NOT EDIT THIS FILE DIRECTLY. | ||
|
||
import NetRegexes from '../../../../../resources/netregexes'; | ||
import ZoneId from '../../../../../resources/zone_id'; | ||
import { OopsyData } from '../../../../../types/data'; | ||
import { OopsyTriggerSet } from '../../../../../types/oopsy'; | ||
import { playerDamageFields } from '../../../oopsy_common'; | ||
|
||
// TODO: failing Discordant Cleansing | ||
|
||
const triggerSet: OopsyTriggerSet<OopsyData> = { | ||
zoneId: ZoneId.ContainmentBayS1T7Extreme, | ||
damageWarn: { | ||
'SophiaEx Thunder II': '7DAA', // untelegraphed front cleave | ||
'SophiaEx Aero III': '7DA8', // "get out" | ||
'SophiaEx Thunder III': '7DA6', // "get under" | ||
'Sophia Ex Aion Teleos Execute 1': '7DAB', // Thunder II duplication | ||
'Sophia Ex Aion Teleos Execute 2': '7DA9', // Aero III duplication | ||
'Sophia Ex Aion Teleos Execute 3': '7DA7', // Thunder III duplication | ||
'SophiaEx Gnosis': '7DBC', // knockback | ||
'SophiaEx The Third Demiurge Ring of Pain': '7DB4', // circle that leaves a frost puddle | ||
'SophiaEx The Third Demiurge Gnostic Spear': '7DB3', // 270 degree untelegraphed cleave | ||
'SophiaEx Onrush': '7DBB', // dash | ||
'SophiaEx Barbelo Light Dew': '7DB9', // line laser from Barbelo head | ||
}, | ||
damageFail: { | ||
'SophiaEx The First Demiurge Revengeance': '7DB7', // hitting Vertical/Horizontal Kenoma | ||
}, | ||
gainsEffectWarn: { | ||
'SophiaEx Frostbite': '25D', // standing in the frost puddle from the Third Demiurge | ||
}, | ||
triggers: [ | ||
{ | ||
// Look away; does damage if failed. | ||
id: 'SophiaEx The Second Demiurge Divine Spark', | ||
type: 'Ability', | ||
netRegex: NetRegexes.ability({ id: '7DB0', ...playerDamageFields }), | ||
condition: (data, matches) => data.DamageFromMatches(matches) > 0, | ||
mistake: (_data, matches) => { | ||
return { | ||
type: 'warn', | ||
blame: matches.target, | ||
reportId: matches.targetId, | ||
text: matches.ability, | ||
}; | ||
}, | ||
}, | ||
{ | ||
id: 'SophiaEx Knocked Off', | ||
type: 'Ability', | ||
// 7D9C = The Scales of Wisdom | ||
// 7DC6 = The Scales of Wisdom | ||
// 7DBC = Gnosis (knockback from Barbelo add) | ||
// Technically, things like Aero III and keroma also knock people off but they also can kill people | ||
// if we ever get proper "you fell off" log lines, we can fix this up. | ||
netRegex: NetRegexes.ability({ id: ['7D9C', '7DC6', '7DBC'] }), | ||
deathReason: (_data, matches) => { | ||
return { | ||
id: matches.targetId, | ||
name: matches.target, | ||
text: { | ||
en: 'Knocked off', | ||
de: 'Runtergefallen', | ||
fr: 'Renversé(e)', | ||
ja: 'ノックバック', | ||
cn: '击退坠落', | ||
ko: '넉백', | ||
}, | ||
}; | ||
}, | ||
}, | ||
], | ||
}; | ||
|
||
export default triggerSet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters