FareverDB

Virulent Magic

Rogue_Talent_VirulentMagic in Skills

Excess applications of Lethal Poison will deal 20% Intellect Magic.

id
Rogue_Talent_VirulentMagic
type
21
flags
0
nature
5
script
function onInflictStatusEval(s) { if (s.status.kind == Skill.Rogue_Talent_LethalPoison_Status) { if (hasStatusMaxStacked(s.target, Skill.Rogue_Talent_LethalPoison_Status)) { playStep(Steps.Damage, s.target, s.target.position); } } }
status
2
Raw data
{
  "id": "Rogue_Talent_VirulentMagic",
  "gfx": {
    "x": 8,
    "y": 2,
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 21,
  "vars": {},
  "flags": 0,
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "steps": [
    {
      "id": "Damage",
      "on": 13,
      "type": 6,
      "props": {},
      "range": 20,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.2
            }
          ],
          "affinity": "Magic"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Excess applications of ::ref_name:: will deal ::dmg::.",
    "name": "Virulent Magic",
    "refs": {
      "ref": "Rogue_Talent_LethalPoison_Status"
    }
  },
  "nature": 5,
  "script": "function onInflictStatusEval(s) {\n\tif (s.status.kind == Skill.Rogue_Talent_LethalPoison_Status) {\n\t\tif (hasStatusMaxStacked(s.target, Skill.Rogue_Talent_LethalPoison_Status)) {\n\t\t\tplayStep(Steps.Damage, s.target, s.target.position);\n\t\t}\n\t}\n}",
  "status": 2,
  "mastery": []
}