Home · skill · Book_WaterOrbs_Passive

Applying Shields has a 0.35 chance to heal 30% Faith over 6.

Properties

status
Done
type
WeaponPassive
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_Book_96PX.png",
    "size": 96,
    "x": 9,
    "y": 0
  },
  "id": "Book_WaterOrbs_Passive",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "name": "Water Veil",
    "desc": "Applying [Shield]s has a ::chance:: chance to heal ::ref_heal:: over ::ref_duration::.",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Chance increased to ::chance::.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "Heals the same amount over ::ref_duration::.",
        "flags": 1
      }
    ],
    "refs": {
      "ref": "Book_WaterOrbs_Passive_Status"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {
    "rankOverride": [
      {
        "minRank": 2,
        "vars": {
          "chance": 1
        }
      }
    ]
  },
  "vars": {
    "chance": 0.35
  },
  "script": "function onShield(s, amount) {\n\ttrace(\"on shield \" + vars.chance);\n\tif (checkProba(vars.chance)) {\n\t\ttrace(\"proc heal\");\n\t\taddStatus(s.owner, Skill.Book_WaterOrbs_Passive_Status);\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "Book_WaterOrbs",
      "via_field": "skills"
    }
  ]
}