FareverDB

Blessing

Mace_Benediction_Passive_Status in Skills

Your [Attack]s deal an additional 20% Faith Magic and generate a Benediction stack.

id
Mace_Benediction_Passive_Status
flags
0
nature
4
script
var Benediction = Skill.Mace_Benediction_Status; var SelfBuff = Skill.Mace_Benediction_Passive_Status; function onInflictDamage(dmg) { if (dmg.isBaseAttack) { playStep(Steps.Damage, dmg.target); if (dmg.isFirstHit) { consumeStatus(owner, SelfBuff, 1); addStatus(owner, Benediction); } } } function onInflictDamageEval(hit) { if (rank >= 3) { if (hit.isBaseAttack) { hit.critChance += sourceSkill.vars.chance; } } }
status
4
duration
10
Raw data
{
  "id": "Mace_Benediction_Passive_Status",
  "gfx": {
    "x": 6,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Mace_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "vars": {},
  "flags": 0,
  "props": {
    "status": {
      "types": [
        {
          "type": "Buff"
        }
      ],
      "maxStacks": 10
    }
  },
  "steps": [
    {
      "id": "Damage",
      "on": 13,
      "type": 0,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.2
            }
          ],
          "affinity": "Magic"
        }
      ]
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Light_Aura_Mace",
            "flags": 8,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0.5,
                "height": 0
              }
            },
            "scale": 1,
            "space": 0,
            "attachName": "Weapon"
          }
        ]
      },
      "duration": -1
    }
  ],
  "texts": {
    "desc": "Your [Attack]s deal an additional ::dmg:: and generate a ::ref_name:: stack.",
    "name": "Blessing",
    "refs": {
      "ref": "Mace_Benediction_Status"
    }
  },
  "nature": 4,
  "script": "var Benediction = Skill.Mace_Benediction_Status;\nvar SelfBuff = Skill.Mace_Benediction_Passive_Status;\n\nfunction onInflictDamage(dmg) {\n\tif (dmg.isBaseAttack) {\n\t\tplayStep(Steps.Damage, dmg.target);\n\t\tif (dmg.isFirstHit) {\n\t\t\tconsumeStatus(owner, SelfBuff, 1);\n\t\t\taddStatus(owner, Benediction);\n\t\t}\n\t}\n}\n\nfunction onInflictDamageEval(hit) {\n\tif (rank >= 3) {\n\t\tif (hit.isBaseAttack) {\n\t\t\thit.critChance += sourceSkill.vars.chance;\n\t\t}\n\t}\n}",
  "status": 4,
  "mastery": [],
  "duration": 10
}