Home · skill · Spear_Goo_Passive
Magic critical strikes coat enemies in goo for 8, slowing them by -30%.
Physical critical strikes ignite Goo to deal 140% Intellect over ::ref2_dur1::.
Physical critical strikes ignite Goo to deal 140% Intellect over ::ref2_dur1::.
Properties
- status
- Review
- type
- WeaponPassive
- nature
- Passive
- steps
Referenced by
Raw data
{
"status": "Review",
"gfx": {
"file": "UI/icons/atlas_weapon_Spear_96PX.png",
"size": 48,
"x": 6,
"y": 0,
"width": 2,
"height": 2
},
"id": "Spear_Goo_Passive",
"type": "WeaponPassive",
"nature": "Passive",
"texts": {
"name": "Unstable Goo",
"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::.",
"rankDescs": [
{
"rank": 2,
"desc": "Damage of ignited goo increased by ::var1%::.",
"flags": 0
},
{
"rank": 3,
"desc": "Resets the cooldown of ::ref3_name:: when goo is ignited.",
"flags": 0
}
],
"refs": {
"ref": "Spear_Goo_PassiveStatus",
"ref2": "Spear_Goo_Passive_Dot",
"ref3": "Spear_Goo_Skill2"
}
},
"anim": {},
"steps": [
{
"on": 0,
"props": {},
"type": 11,
"duration": -1,
"visuals": {
"fxs": [
{
"set": "Honey_Aura_Spear",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 1.2,
"height": 0
}
},
"attachName": "Weapon",
"space": 0,
"flags": 8
}
]
}
}
],
"flags": [],
"mastery": [],
"props": {},
"vars": {
"var1": 0.4
},
"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}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Spear_Goo",
"via_field": "skills"
}
]
}