FareverDB

Unstable Goo

Spear_Goo_Passive in Skills

Magic critical strikes coat enemies in goo for 8, slowing them by -30%. Physical critical strikes ignite Goo to deal 140% Intellect Magic over ::ref2_dur1::.

id
Spear_Goo_Passive
type
24
flags
0
nature
5
script
function onInflictDamage(dmg) { if(elapsedTime > 0 && (dmg.isBaseAttack || dmg.isWeaponSkill) && dmg.critical) { if (dmg.isMagic) { addStatus(dmg.target, Skill.Spear_Goo_PassiveStatus); } if (dmg.isPhysical) { if (dmg.target.tryConsumeStatus(Skill.Spear_Goo_PassiveStatus, dmg.sourceObject) > 0) { addStatus(dmg.target, Skill.Spear_Goo_Passive_Dot); } } } } function onStatusConsumed(s,stacks) { if (rank >= 3) { if (s.kind == Skill.Spear_Goo_PassiveStatus) { resetCooldown(Skill.Spear_Goo_Skill2); } } }
status
1
Raw data
{
  "id": "Spear_Goo_Passive",
  "gfx": {
    "x": 6,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Spear_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 24,
  "vars": {
    "var1": 0.4
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Honey_Aura_Spear",
            "flags": 8,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 1.2,
                "height": 0
              }
            },
            "space": 0,
            "attachName": "Weapon"
          }
        ]
      },
      "duration": -1
    }
  ],
  "texts": {
    "desc": "Magic critical strikes coat enemies in goo for ::ref_duration::, slowing them by ::ref_val1%::.\nPhysical critical strikes ignite Goo to deal ::ref2_dmg:: over ::ref2_dur1::.",
    "name": "Unstable Goo",
    "refs": {
      "ref": "Spear_Goo_PassiveStatus",
      "ref2": "Spear_Goo_Passive_Dot",
      "ref3": "Spear_Goo_Skill2"
    },
    "rankDescs": [
      {
        "desc": "Damage of ignited goo increased by ::var1%::.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Resets the cooldown of ::ref3_name:: when goo is ignited.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 5,
  "script": "function onInflictDamage(dmg) {\n\tif(elapsedTime > 0 && (dmg.isBaseAttack || dmg.isWeaponSkill) && dmg.critical) {\n\t\tif (dmg.isMagic) {\n\t\t\taddStatus(dmg.target, Skill.Spear_Goo_PassiveStatus);\n\t\t}\n\t\tif (dmg.isPhysical) {\n\t\t\tif (dmg.target.tryConsumeStatus(Skill.Spear_Goo_PassiveStatus, dmg.sourceObject) > 0) {\n\t\t\t\taddStatus(dmg.target, Skill.Spear_Goo_Passive_Dot);\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction onStatusConsumed(s,stacks) {\n\tif (rank >= 3) {\n\t\tif (s.kind == Skill.Spear_Goo_PassiveStatus) {\n\t\t\tresetCooldown(Skill.Spear_Goo_Skill2);\n\t\t}\n\t}\n}",
  "status": 1,
  "mastery": []
}