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