Home · skill · Warrior_Rage

Generates 1 Rage from Attacks and Weapon Skills.
You can spend Rage to use Raging Smash.

Properties

status
Done
type
ClassPassive
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_class_Warrior_96PX.png",
    "size": 96,
    "x": 4,
    "y": 1
  },
  "id": "Warrior_Rage",
  "type": "ClassPassive",
  "nature": "Passive",
  "texts": {
    "name": "Rage",
    "desc": "Generates ::var1:: [Rage] from [Attack]s and [WeaponSkill]s.\nYou can spend [Rage] to use ::ref_name::.",
    "refs": {
      "ref": "Warrior_Rage_Strike"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {},
  "vars": {
    "threshold": 0,
    "var1": 1
  },
  "script": "function onInflictHit(hit) {\n\tif( hit.isFirstHit && (hit.isBaseAttack || hit.isFinalCombo || hit.isWeaponSkill ))\n\t\taddAtb(owner, Attribute.Rage, vars.var1);\n}\n\n/*function onUpdate(dt) {\n\tvar rage = getAtb(owner, Attribute.Rage);\n\tvar max = getAtb(owner, Attribute.MaxRage);\n\tif( rage >= max ) {\n\t\tsetAtb(owner, Attribute.Rage, 0);\n\t\taddStatus(owner, Skill.Warrior_InfiniteRage);\n\t\t//addSkillCharges(Skill.Warrior_Rage_Strike, 1);\n\t}\n}*/",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Warrior",
      "via_field": "skills"
    }
  ]
}