FareverDB

Mystic Empowerment

Mage_MysticEmpowerment in Skills

Grants 30% [CooldownReduction] to allies within 100 for 15.

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