Home · skill · Mage_MysticEmpowerment

Grants 30% Cooldown Reduction to allies within 100 for 15.

Properties

status
WIP
type
Class Skill
nature
Ability
cooldown
120
duration
0.4
steps
visuals={"fxs":[{"set":"Generic_Crack","props":{},"scale":2.5,"space":1,"flags":2}],"camShake":5}props={}on=0delay=0.25id=StartEmpowermenton=0props={}type=11visuals={"fxs":[{"set":"Mage_MysticEmpowerment","props":{},"space":2}]}
mastery
id=Mage_MysticEmpowerment_M1 vars={}gfx={"file":"UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M1.png","size":256,"x":0,"y":0}text={"name":"Mystic Continuum","desc":"Extends the duration of ::ref_name:: by ::time:: each time one of your [WeaponSkill]s recovers its cooldown."}vars={"time":0.5}id=Mage_MysticEmpowerment_M2gfx={"file":"UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M2.png","size":256,"x":0,"y":0}text={"name":"Cosmic Singularity","desc":"::ref_name:: grants a ::ref_val2%:: increase to a random Attribute between [MagicMastery] or [PhysicalMastery]."}id=Mage_MysticEmpowerment_M3gfx={"file":"UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M3.png","size":256,"x":0,"y":0}text={"name":"Foresight","desc":"The cooldown of ::name:: is reduced to ::cooldown::."}props={"cooldown":90}

Referenced by

unit (1)

Raw data
{
  "status": "WIP",
  "gfx": {
    "file": "UI/icons/atlas_class_Mage_96PX.png",
    "size": 96,
    "x": 2,
    "y": 0
  },
  "id": "Mage_MysticEmpowerment",
  "type": "ClassSkill",
  "nature": "Ability",
  "texts": {
    "name": "Mystic Empowerment",
    "desc": "Grants ::ref_val1%:: [CooldownReduction] to allies within ::range:: for ::ref_duration::.",
    "refs": {
      "ref": "Mage_MysticEmpowerment_Status"
    }
  },
  "anim": {
    "ref": "CastGround",
    "blend": 0.05
  },
  "cooldown": 120,
  "duration": 0.4,
  "steps": [
    {
      "visuals": {
        "fxs": [
          {
            "set": "Generic_Crack",
            "props": {},
            "scale": 2.5,
            "space": 1,
            "flags": 2
          }
        ],
        "camShake": 5
      },
      "props": {},
      "on": 0,
      "delay": 0.25,
      "id": "StartEmpowerment"
    },
    {
      "on": 0,
      "props": {},
      "type": 11,
      "visuals": {
        "fxs": [
          {
            "set": "Mage_MysticEmpowerment",
            "props": {},
            "space": 2
          }
        ]
      }
    }
  ],
  "flags": [],
  "mastery": [
    {
      "id": "Mage_MysticEmpowerment_M1",
      " vars": {},
      "gfx": {
        "file": "UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M1.png",
        "size": 256,
        "x": 0,
        "y": 0
      },
      "text": {
        "name": "Mystic Continuum",
        "desc": "Extends the duration of ::ref_name:: by ::time:: each time one of your [WeaponSkill]s recovers its cooldown."
      },
      "vars": {
        "time": 0.5
      }
    },
    {
      "id": "Mage_MysticEmpowerment_M2",
      "gfx": {
        "file": "UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M2.png",
        "size": 256,
        "x": 0,
        "y": 0
      },
      "text": {
        "name": "Cosmic Singularity",
        "desc": "::ref_name:: grants a ::ref_val2%:: increase to a random Attribute between [MagicMastery] or [PhysicalMastery]."
      }
    },
    {
      "id": "Mage_MysticEmpowerment_M3",
      "gfx": {
        "file": "UI/Portraits/Items/Masteries/Mage_MysticEmpowerment/Mage_MysticEmpowerment_M3.png",
        "size": 256,
        "x": 0,
        "y": 0
      },
      "text": {
        "name": "Foresight",
        "desc": "The cooldown of ::name:: is reduced to ::cooldown::."
      },
      "props": {
        "cooldown": 90
      }
    }
  ],
  "props": {},
  "vars": {
    "range": 100
  },
  "script": "function onStep(step) {\n\tif (step.kind == Steps.StartEmpowerment) {\n\t\tvar status = Skill.Mage_MysticEmpowerment_Status;\n\t\tif (hasMastery(Mastery.Mage_MysticEmpowerment_M2)) {\n\t\t\tif (checkProba(0.5))\n\t\t\t\tstatus = Skill.Mage_MysticEmpowerment_Status_Physical;\n\t\t}\n\t\tfor (h in getPartyHeroesWithinRange(ownerHero, vars.range)) {\n\t\t\taddStatus(h, status);\n\t\t}\n\t}\n}\n\nfunction onSkillGainCharge(s) {\n\tif (s.isWeaponSkill() && hasMastery(Mastery.Mage_MysticEmpowerment_M1)) {\n\t\textendStatusDuration(owner, Skill.Mage_MysticEmpowerment_Status, vars.time);\n\t\textendStatusDuration(owner, Skill.Mage_MysticEmpowerment_Status_Physical, vars.time);\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Mage",
      "via_field": "skills"
    }
  ]
}