FareverDB

Temporal Compression

Mage_Talent_TemporalCompression in Skills

Each [Spark] point spent has a 0.02 chance to reduce the cooldown of your [WeaponSkill]s by 1.

id
Mage_Talent_TemporalCompression
type
21
flags
0
nature
5
script
function onOwnerConsumeResource(attr, amount) { if (attr == Attribute.Spark) { var chance = -1 * amount * vars.chance; if (checkProba(chance)) { forAllWeaponSkills(owner, (s) -> reduceCooldown(s.kind, vars.time)); } } }
status
5
Raw data
{
  "id": "Mage_Talent_TemporalCompression",
  "gfx": {
    "x": 2,
    "y": 2,
    "file": "UI/icons/Mage_talent.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 21,
  "vars": {
    "time": 1,
    "chance": 0.02
  },
  "flags": 0,
  "props": {
    "talent": {
      "maxPoints": 2
    },
    "rankOverride": [
      {
        "vars": {
          "chance": 0.04
        },
        "minRank": 2
      }
    ]
  },
  "steps": [],
  "texts": {
    "desc": "Each [Spark] point spent has a ::chance:: chance to reduce the cooldown of your [WeaponSkill]s by ::time::.",
    "name": "Temporal Compression"
  },
  "nature": 5,
  "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}",
  "status": 5,
  "mastery": []
}