Home · skill · DA_Water_Passive

Your Physical Mastery is increased by ::ref_val%:: while fighting under 50% Health.

Properties

status
Done
type
WeaponPassive
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_weapon_DualAxe_96PX.png",
    "size": 96,
    "x": 4,
    "y": 1
  },
  "id": "DA_Water_Passive",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "name": "Tide Warlord",
    "desc": "Your [PhysicalMastery] is increased by ::ref_val%:: while fighting under ::var1%:: [Health].",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Increases your [MoveSpeedFactor] by the same amount.",
        "flags": 0
      },
      {
        "rank": 3,
        "desc": "When you fall below  ::var2%:: [Health], gain the effects of ::ref2_name:: (::ref3_dur:: cooldown).",
        "flags": 0
      }
    ],
    "refs": {
      "ref": "DA_Water_Passive_Status",
      "ref2": "DA_Water_Skill1",
      "ref3": "DA_Water_Passive_Status_R3"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {},
  "vars": {
    "var1": 0.5,
    "var2": 0.35
  },
  "script": "function onReceiveDamage(dmg) {\n\tsetStatus(owner, Skill.DA_Water_Passive_Status, owner.isInCombat && owner.healthRatio < vars.var1 ? 1 : 0);\n\tif(rank >= 3) {\n\t\tif(owner.isInCombat && owner.healthRatio < vars.var2 && !hasStatus(owner, Skill.DA_Water_Passive_Status_R3)) {\n\t\t\taddStatus(owner, Skill.DA_Water_Skill1_Status);\n\t\t\taddStatus(owner, Skill.DA_Water_Passive_Status_R3);\n\t\t}\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "DA_Water",
      "via_field": "skills"
    }
  ]
}