Home · skill · DS_Bladeleaf_Passive

The next time one of your skills deals Magic damage, it is increased by 1% (30 cooldown).

Properties

status
Review
type
WeaponPassive
nature
Passive
cooldown
30
steps
on=0props={}type=11duration=-1visuals={"fxs":[{"set":"Honey_Aura_Spear","props":{},"attachName":"Weapon","space":0,"flags":8}]}on=13props={}type=6effects=[{"effect":0,"scaling":[{"ratio":0.2,"atb":"Intellect"}],"flags":0,"affinity":"Magic"}]id=Damage

Referenced by

Raw data
{
  "status": "Review",
  "gfx": {
    "file": "UI/icons/atlas_weapon_Dual_Sword_96px.png",
    "size": 48,
    "x": 8,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "DS_Bladeleaf_Passive",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "name": "Queen's Decree",
    "desc": "The next time one of your skills deals [Magic] damage, it is increased by ::damage%:: (::cooldown:: cooldown).",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Cooldown reduced to ::cooldown::.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "While this is on cooldown, all your critical strikes deal an additional ::dmg::.",
        "flags": 0
      }
    ],
    "refs": {
      "ref": "Spear_Goo_Skill2"
    }
  },
  "anim": {},
  "cooldown": 30,
  "steps": [
    {
      "on": 0,
      "props": {},
      "type": 11,
      "duration": -1,
      "visuals": {
        "fxs": [
          {
            "set": "Honey_Aura_Spear",
            "props": {},
            "attachName": "Weapon",
            "space": 0,
            "flags": 8
          }
        ]
      }
    },
    {
      "on": 13,
      "props": {},
      "type": 6,
      "effects": [
        {
          "effect": 0,
          "scaling": [
            {
              "ratio": 0.2,
              "atb": "Intellect"
            }
          ],
          "flags": 0,
          "affinity": "Magic"
        }
      ],
      "id": "Damage"
    }
  ],
  "flags": [],
  "mastery": [],
  "props": {
    "rankOverride": [
      {
        "minRank": 2,
        "props": {
          "cooldown": 20
        }
      }
    ]
  },
  "vars": {
    "var1": 4,
    "damage": 1
  },
  "script": "function onInflictDamageEval(hit) {\n\tif (!isInCooldown()) {\n\t\tif (hit.isMagic && hit.isSkill) {\n\t\t\thit.dmgMult += vars.damage;\n\t\t\tconsumeStatus(owner, Skill.DS_Bladeleaf_Passive_Status);\n\t\t\tconsumeCooldown();\n\t\t}\n\t}\n}\n\nfunction onRegUpdate(dt) {\n\tif (isInCooldown()) {\n\t\treturn;\n\t}\n\tif (!hasStatus(owner, Skill.DS_Bladeleaf_Passive_Status)) {\n\t\taddStatus(owner, Skill.DS_Bladeleaf_Passive_Status);\n\t}\n}\n\nfunction onInflictDamage(dmg) {\n\tif (rank >= 3) {\n\t\tif (dmg.critical && dmg.baseSkill.kind != skill.kind && isInCooldown()) {\n\t\t\tplayStep(Steps.Damage, dmg.target);\n\t\t}\n\t}\n\n\t/*if (dmg.isMagic) {\n\t\twait(0.1, () -> {consumeCooldown();});\n\t}*/\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "DS_Z1RBee_AssWiz",
      "via_field": "skills"
    }
  ]
}