'use strict';

// The Grand Cosmos
[{
  zoneRegex: /^The Grand Cosmos$/,
  damageWarn: {
    'Cosmos Iron Justice': '491F',
    'Cosmos Smite Of Rage': '4921',

    'Cosmos Tribulation': '49A4',
    'Cosmos Dark Shock': '476F',
    'Cosmos Sweep': '4770',
    'Cosmos Deep Clean': '4771',

    'Cosmos Shadow Burst': '4924',
    'Cosmos Bloody Caress': '4927',
    'Cosmos Nepenthic Plunge': '4928',
    'Cosmos Brewing Storm': '4929',

    'Cosmos Ode To Fallen Petals': '4950',
    'Cosmos Far Wind Ground': '4273',

    'Cosmos Fire Breath': '492B',
    'Cosmos Ronkan Freeze': '492E',
    'Cosmos Overpower': '492D',

    'Cosmos Scorching Left': '4763',
    'Cosmos Scorching Right': '4762',
    'Cosmos Otherwordly Heat': '475C',
    'Cosmos Fire\'s Ire': '4761',
    'Cosmos Plummet': '4767',
  },
  triggers: [
    {
      id: 'Cosmos Dark Well',
      damageRegex: '476D',
      condition: function(e, data) {
        // Double taps only.
        return e.type != '15';
      },
      mistake: function(e, data) {
        return { type: 'warn', blame: e.targetName, text: e.abilityName };
      },
    },
    {
      id: 'Cosmos Far Wind Spread',
      damageRegex: '4724',
      condition: function(e, data) {
        // Double taps only.
        return e.type != '15';
      },
      mistake: function(e, data) {
        return { type: 'warn', blame: e.targetName, text: e.abilityName };
      },
    },
    {
      id: 'Cosmos Black Flame',
      damageRegex: '475D',
      condition: function(e, data) {
        // Double taps only.
        return e.type != '15';
      },
      mistake: function(e, data) {
        return { type: 'warn', blame: e.targetName, text: e.abilityName };
      },
    },
    {
      id: 'Cosmos Fire\'s Domain',
      damageRegex: '4760',
      condition: function(e, data) {
        // Double taps only.
        return e.type != '15';
      },
      mistake: function(e, data) {
        return { type: 'warn', blame: e.targetName, text: e.abilityName };
      },
    },
  ],
}];

@@ -898,34 +898,28 @@
 : function(e
-, data
 ) %7B%0A
+
         // D
@@ -992,38 +992,32 @@
 take: function(e
-, data
 ) %7B%0A        retu
@@ -1183,38 +1183,32 @@
 tion: function(e
-, data
 ) %7B%0A        // D
@@ -1281,38 +1281,32 @@
 take: function(e
-, data
 ) %7B%0A        retu
@@ -1468,38 +1468,32 @@
 tion: function(e
-, data
 ) %7B%0A        // D
@@ -1566,38 +1566,227 @@
 take: function(e
-, data
+) %7B%0A        return %7B type: 'warn', blame: e.targetName, text: e.abilityName %7D;%0A      %7D,%0A    %7D,%0A    %7B%0A      id: 'Cosmos Fire%5C's Domain Tether',%0A      damageRegex: '475F',%0A      mistake: function(e
 ) %7B%0A        retu
@@ -1951,38 +1951,32 @@
 tion: function(e
-, data
 ) %7B%0A        // D
@@ -2024,32 +2024,32 @@
  '15';%0A      %7D,%0A
+
       mistake: f
@@ -2061,14 +2061,8 @@
 on(e
-, data
 ) %7B%0A

Add Entry for Lugus' Tether Mechanic (#717)