Home · skill · Shield_Craft_Passive

Your next Final Combo Attack deals an additional 15% Armor (20 cooldown).

Properties

status
Done
type
WeaponPassive
nature
Passive
cooldown
20
steps
on=13props={}id=Magic Damagetype=0visuals={"hitFx":"Physical_Blast"}effects=[{"affinity":"Physical","effect":0,"scaling":[{"ratio":0.15,"atb":"Armor"}],"flags":0}]
flags
CanAirborne
notes
do a new hit damage, not a dmgAdd

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_weapon_Shield_96PX.png",
    "size": 96,
    "x": 3,
    "y": 0
  },
  "id": "Shield_Craft_Passive",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "desc": "Your next [ComboAttack] deals an additional ::dmg:: (::cooldown:: cooldown).",
    "name": "Heartsteel",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Cooldown reduced to ::cooldown::.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "Reduces all damage taken by ::var2%:: while this is on cooldown.",
        "flags": 0
      }
    ]
  },
  "anim": {},
  "cooldown": 20,
  "steps": [
    {
      "on": 13,
      "props": {},
      "id": "MagicDamage",
      "type": 0,
      "visuals": {
        "hitFx": "Physical_Blast"
      },
      "effects": [
        {
          "affinity": "Physical",
          "effect": 0,
          "scaling": [
            {
              "ratio": 0.15,
              "atb": "Armor"
            }
          ],
          "flags": 0
        }
      ]
    }
  ],
  "flags": [
    "CanAirborne"
  ],
  "mastery": [],
  "props": {
    "rankOverride": [
      {
        "minRank": 2,
        "props": {
          "cooldown": 15
        }
      }
    ]
  },
  "notes": "do a new hit damage, not a dmgAdd",
  "vars": {
    "var1": 0.25,
    "var2": 0.1
  },
  "script": "var STATUS_KIND = Skill.Shield_Craft_Passive_Status;\n\nfunction onRegUpdate(dt) {\n\tif(!isInCooldown()) {\n\t\tsetStatus(owner, STATUS_KIND);\n\t}\n}\n\nfunction onReceiveDamageEval(hit) {\n\tif(isInCooldown()) {\n\t\thit.dmgMult -= vars.var2;\n\t}\n}\n\n/*function onSkillProc(ctx) {\n\tif(hasStatus(owner, STATUS_KIND)) {\n\t\tif(ctx.skill.isFinalAttack()) {\n\t\t\tvar armor = getAtb(owner, Attribute.Armor);\n\t\t\tvar dmg = armor * vars.var1;\n\t\t\tctx.dmgAdd += dmg;\n\t\t\tremoveStatus(owner, STATUS_KIND);\n\t\t\tconsumeCooldown();\n\t\t}\n\t}\n}*/\n\nfunction onInflictDamageEval(hit) {\n\tif( hasStatus(owner, Skill.Shield_Craft_Passive_Status) && hit.isFinalCombo ) {\n\t\tplayStep(Steps.MagicDamage, hit.target);\n\t\tremoveStatus(owner, Skill.Shield_Craft_Passive_Status);\n\t\tconsumeCooldown();\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "Shield_Craft",
      "via_field": "skills"
    }
  ]
}