Home · skill · Mage_Talent_Discipline

Magic Mastery increased by 5%.

Physical Mastery increased by 50% of your Magic Mastery.

Properties

status
Done
type
Talent
nature
Passive
affixes
target={"attribute":"MagicMastery"}target2={}ref=TAttribute_Flatconds={}mod={}val=5displayed=falsetarget={"attribute":"PhysicalMastery"}target2={}ref=TAttribute_Flatconds={}mod={"dynVal":{"id":1,"op":0}}val=1displayed=false

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Mage_talent.png",
    "size": 48,
    "x": 18,
    "y": 2,
    "width": 2,
    "height": 2
  },
  "id": "Mage_Talent_Discipline",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "desc": "[MagicMastery] increased by ::val1%::.\n\n[PhysicalMastery] increased by ::var2%:: of your [MagicMastery].",
    "name": "Discipline"
  },
  "anim": {},
  "steps": [],
  "affixes": [
    {
      "target": {
        "attribute": "MagicMastery"
      },
      "target2": {},
      "ref": "TAttribute_Flat",
      "conds": {},
      "mod": {},
      "val": 5,
      "displayed": false
    },
    {
      "target": {
        "attribute": "PhysicalMastery"
      },
      "target2": {},
      "ref": "TAttribute_Flat",
      "conds": {},
      "mod": {
        "dynVal": {
          "id": 1,
          "op": 0
        }
      },
      "val": 1,
      "displayed": false
    }
  ],
  "flags": [],
  "mastery": [],
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "vars": {
    "var2": 0.5
  },
  "script": "function onRegUpdate(dt) {\n\tvar magicm = getAtb(owner, Attribute.MagicMastery);\n\tsetDynVal(1, vars.var2 * magicm * 100);\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Mage",
      "via_field": "talentTrees"
    }
  ]
}