Home · skill · Rogue_Talent_CripplingPoison_Tracker

Properties

nature
Status
flags
Hidden
Raw data
{
  "gfx": {
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "x": 8,
    "y": 6,
    "width": 2,
    "height": 2
  },
  "id": "Rogue_Talent_CripplingPoison_Tracker",
  "nature": "Status",
  "texts": {},
  "anim": {},
  "steps": [],
  "flags": [
    "Hidden"
  ],
  "mastery": [],
  "props": {
    "status": {
      "types": [
        {
          "type": "Debuff"
        }
      ]
    }
  },
  "vars": {},
  "script": "var wasMaxed = false;\nfunction onReceiveStatus(s) {\n\tif (wasMaxed) {return;}\n\tvar maxStacks = hasStatusMaxStacked(owner, Skill.Rogue_Talent_LethalPoison_Status);\n\tvar receivePoison = s.kind == Skill.Rogue_Talent_LethalPoison_Status;\n\tif ( maxStacks) {\n\t\twasMaxed = true;\n\t\ttrace(status.instigatorSkill);\n\t\ttrace(status.instigatorSkill.vars.dur1);\n\n\t\towner.addStatus(Skill.Stun, 1, status.instigatorSkill, status.instigator, status.instigatorSkill.vars.dur1);\n\t}\n}"
}