Home · skill · Sword_Craft_Passive

Heals nearby allies for 10% Faith every 3 while you are surrounded by 2 or more enemies within 6.

Properties

status
Done
type
WeaponPassive
nature
Passive

Referenced by

item (1)

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_weapon_Sword1H_96PX.png",
    "size": 96,
    "x": 8,
    "y": 0
  },
  "id": "Sword_Craft_Passive",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "name": "Righteous Resolve",
    "desc": "Heals nearby allies for ::ref_heal:: every ::ref_dur1:: while you are surrounded by ::var1:: or more enemies within ::ref_range::.",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "The healing effect is triggered every ::ref_dur1::.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "Perfect blocking triggers the healing effect while ::name:: is active.",
        "flags": 0
      }
    ],
    "refs": {
      "ref": "Sword_Craft_Passive_Status"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {},
  "vars": {
    "var1": 2
  },
  "script": "function onRegUpdate(dt) {\n\tvar count = countEnemiesInRange(vars.range);\n\tvar apply = count >= vars.var1;\n\tvar inCombat = owner.isInCombat;\n\tsetStatus(owner, Skill.Sword_Craft_Passive_Status, apply && inCombat ? 1 : 0);\n}\n\nfunction onStop(ctx) {\n\tsetStatus(owner, Skill.Sword_Craft_Passive_Status, 0);\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "Sword_Craft",
      "via_field": "skills"
    }
  ]
}