FareverDB

Beacon of Hope

Priest_BeaconOfHope in Skills

Drops a [Totem] storing 10% of damage you deal and heal you provide. After ::ref_duration::, the [Totem] explodes and releases a nova healing allies and damaging enemies with stored amounts.

id
Priest_BeaconOfHope
type
9
flags
0
nature
3
script
var beaconStatus = Skill.Priest_BeaconOfHope_Status; function onSummon(u) { addStatus(u, beaconStatus, vars.duration); } function onInflictDamage(dmg) { for (s in owner.instigatedStatuses) { if (s.kind == beaconStatus) { s.script.onInflictDamage(dmg); } } if (dmg.skillId == beaconStatus && hasMastery(Mastery.Priest_BeaconOfHope_M3)) { reduceCooldown(Skill.Priest_BeaconOfHope, vars.time); } } function onInflictHeal(dmg) { for (s in owner.instigatedStatuses) { if (s.kind == beaconStatus) { s.script.onInflictHeal(dmg); } } if (dmg.skillId == beaconStatus && hasMastery(Mastery.Priest_BeaconOfHope_M3)) { reduceCooldown(Skill.Priest_BeaconOfHope, vars.time); } }
status
2
cooldown
180
duration
0.5
Raw data
{
  "id": "Priest_BeaconOfHope",
  "gfx": {
    "x": 5,
    "y": 0,
    "file": "UI/icons/atlas_class_Priest_96PX.png",
    "size": 96
  },
  "anim": {
    "ref": "Conjure",
    "blend": 0.1
  },
  "type": 9,
  "vars": {
    "var1": 0.1,
    "duration": 10
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 25,
      "props": {},
      "range": 25,
      "visuals": {
        "fxs": [
          {
            "set": "Telegraph_Circle_Light",
            "flags": 16,
            "props": {},
            "scale": 1
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 3,
      "props": {},
      "duration": 0.3
    },
    {
      "on": 0,
      "type": 13,
      "props": {
        "rotation": {
          "direction": 3
        }
      },
      "duration": 0.3
    },
    {
      "on": 0,
      "type": 14,
      "props": {}
    },
    {
      "on": 7,
      "type": 23,
      "props": {
        "summon": {
          "unit": "Totem_BeaconOfHope"
        },
        "position": {
          "origin": 4
        }
      },
      "duration": "duration"
    },
    {
      "on": 7,
      "type": 4,
      "props": {},
      "range": 1
    }
  ],
  "texts": {
    "desc": "Drops a [Totem] storing ::var1%:: of damage you deal and heal you provide.\n\nAfter ::ref_duration::, the [Totem] explodes and releases a nova healing allies and damaging enemies with stored amounts.",
    "name": "Beacon of Hope",
    "refs": {
      "ref": "Priest_BeaconOfHope_Status_Buff"
    }
  },
  "nature": 3,
  "script": "var beaconStatus = Skill.Priest_BeaconOfHope_Status;\nfunction onSummon(u) {\n\taddStatus(u, beaconStatus, vars.duration);\n}\n\n\nfunction onInflictDamage(dmg) {\n\tfor (s in owner.instigatedStatuses) {\n\t\tif (s.kind == beaconStatus) {\n\t\t\ts.script.onInflictDamage(dmg);\n\t\t}\n\t}\n\n\tif (dmg.skillId == beaconStatus && hasMastery(Mastery.Priest_BeaconOfHope_M3)) {\n\t\treduceCooldown(Skill.Priest_BeaconOfHope, vars.time);\n\t}\n}\n\nfunction onInflictHeal(dmg) {\n\tfor (s in owner.instigatedStatuses) {\n\t\tif (s.kind == beaconStatus) {\n\t\t\ts.script.onInflictHeal(dmg);\n\t\t}\n\t}\n\tif (dmg.skillId == beaconStatus && hasMastery(Mastery.Priest_BeaconOfHope_M3)) {\n\t\treduceCooldown(Skill.Priest_BeaconOfHope, vars.time);\n\t}\n}",
  "status": 2,
  "mastery": [
    {
      "id": "Priest_BeaconOfHope_M1",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Priest_BeaconOfHope/Priest_BeaconOfHope_M1.png",
        "size": 256
      },
      "text": {
        "desc": "::name:: stuns enemies for ::dur1::.",
        "name": "Blinding Light"
      },
      "vars": {
        "dur1": 3
      }
    },
    {
      "id": "Priest_BeaconOfHope_M2",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Priest_BeaconOfHope/Priest_BeaconOfHope_M2.png",
        "size": 256
      },
      "text": {
        "desc": "::name::'s increases all damage taken by enemies hit and reduces all damage taken by allies hit by ::ref_val1%::.",
        "name": "Partial Justice"
      }
    },
    {
      "id": "Priest_BeaconOfHope_M3",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Priest_BeaconOfHope/Priest_BeaconOfHope_M3.png",
        "size": 256
      },
      "text": {
        "desc": "Each ally and enemy hit reduces the cooldown of ::name:: by ::time::.",
        "name": "Balance of Souls"
      },
      "vars": {
        "time": 5
      },
      " vars": {}
    }
  ],
  "cooldown": 180,
  "duration": 0.5
}