Home · skill · Mage_Talent_TemporalCompression
Each Spark point spent has a 0.02 chance to reduce the cooldown of your Weapon Skills by 1.
Properties
- status
- Bug
- type
- Talent
- nature
- Passive
Referenced by
unit (1)
Raw data
{
"status": "Bug",
"gfx": {
"file": "UI/icons/Mage_talent.png",
"size": 48,
"x": 2,
"y": 2,
"width": 2,
"height": 2
},
"id": "Mage_Talent_TemporalCompression",
"type": "Talent",
"nature": "Passive",
"texts": {
"desc": "Each [Spark] point spent has a ::chance:: chance to reduce the cooldown of your [WeaponSkill]s by ::time::.",
"name": "Temporal Compression"
},
"anim": {},
"steps": [],
"flags": [],
"mastery": [],
"props": {
"talent": {
"maxPoints": 2
},
"rankOverride": [
{
"minRank": 2,
"vars": {
"chance": 0.04
}
}
]
},
"vars": {
"chance": 0.02,
"time": 1
},
"script": "function onOwnerConsumeResource(attr, amount) {\n\tif (attr == Attribute.Spark) {\n\t\tvar chance = -1 * amount * vars.chance;\n\t\tif (checkProba(chance)) {\n\t\t\tforAllWeaponSkills(owner, (s) -> reduceCooldown(s.kind, vars.time));\n\t\t}\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Mage",
"via_field": "talentTrees"
}
]
}