Skip to main content
All skills

Deceiver Trick

WeaponSpell

Drops an area at your position, lasting 6s. If an enemy leaves the area, it gets stunned for 3s and take 80% Intellect + 80% Faith (Magic).

cooldown20s
duration0.3s
steps5
Scaling
80% Intellect + 80% Faith· Magic

References

Granted by

Raw data

type
WeaponSkill
nature
Spell
Cooldown
20s
duration
0.3s
steps
5
id
Halos_Demon_Skill2
raw data
{
  "id": "Halos_Demon_Skill2",
  "gfx": {
    "x": 16,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Halos_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 7,
  "vars": {
    "dur1": 6,
    "dur2": 3,
    "var1": 3,
    "range": 12
  },
  "flags": 0,
  "props": {
    "rankOverride": [
      {
        "props": {
          "cooldown": 15
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 11,
      "delay": 0,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "CastGround",
              "blend": 0.3,
              "startFrame": 0
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 4,
      "delay": 0.2,
      "props": {},
      "range": 8,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.8
            },
            {
              "atb": "Faith",
              "ratio": 0.8
            }
          ],
          "affinity": "Magic"
        }
      ]
    },
    {
      "on": 0,
      "type": 4,
      "delay": 0.2,
      "props": {
        "area": {
          "splitStatuses": true,
          "detectPresence": true
        },
        "loop": {
          "tick": 0.2
        }
      },
      "range": 8,
      "effects": [
        {
          "flags": 0,
          "effect": 4,
          "status": "Halos_Demon_Skill2_Leash",
          "scaling": []
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Chaos_Ally_AOE_Ground_Lasting",
            "flags": 8,
            "props": {},
            "space": 1
          }
        ]
      },
      "duration": 6
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.3,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Chaos_AOE_Ground",
            "props": {},
            "scale": 1.25,
            "space": 1
          }
        ]
      }
    },
    {
      "id": "Damage",
      "on": 13,
      "type": 6,
      "props": {},
      "range": "",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "status": "Stun",
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 2.5
            }
          ],
          "affinity": "Magic",
          "duration": "dur2"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Drops an area at your position, lasting ::dur1::. If an enemy leaves the area, it gets stunned for ::dur2:: and take ::dmg::.",
    "name": "Deceiver Trick",
    "refs": {
      "ref": "Halos_Demon_Skill2_Leash",
      "ref2": "Halos_Demon_Skill2_R3_Counter"
    },
    "rankDescs": [
      {
        "desc": "Cooldown reduced to ::cooldown::.",
        "flags": 1
      },
      {
        "desc": "If this deals damage to an enemy, it resets the cooldown of [Halos_Demon_Skill1].",
        "flags": 0
      }
    ]
  },
  "nature": 3,
  "script": "var Leash = Skill.Halos_Demon_Skill2_Leash;\n\nfunction onAreaExited(a, u) {\n\tplayStep(Steps.Damage, u);\n\tremoveStatus(u, Leash);\n\tif (rank >= 3) {\n\t\twait(0, () -> {\n\t\t\tgainStack();\n\t\t});\n\t}\n}\n\nfunction onAreaEnter(a, u) {\n\taddStatus(u, Leash);\n}\n\nfunction onAreaElapsed(area,units) {\n\tfor (u in units) {\n\t\tremoveStatus(u, Leash);\n\t}\n}\n\nfunction gainStack() {\n\taddStatus(owner, Skill.Halos_Demon_Skill2_R3_Counter);\n\tif (hasStatusMaxStacked(owner, Skill.Halos_Demon_Skill2_R3_Counter)) {\n\t\tresetCooldown(Skill.Halos_Demon_Skill1);\n\t\tremoveStatus(owner, Skill.Halos_Demon_Skill2_R3_Counter);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 20,
  "duration": 0.3
}