FareverDB

Domination

GA_Craft_Passive in Skills

You deal 15% increased damage to enemies affected by crowd control effects.

id
GA_Craft_Passive
type
24
flags
0
nature
5
script
function onInflictDamageEval(hit) { if( hit.target.hasStatusType(StatusType.Stun) || hit.target.hasStatusType(StatusType.Root) || hit.target.hasStatusType(StatusType.Slow) || (rank >= 3 && hit.target.isCCImmune())) { hit.dmgMult += vars.var1; } }
status
2
Raw data
{
  "id": "GA_Craft_Passive",
  "gfx": {
    "x": 10,
    "y": 2,
    "file": "UI/icons/atlas_weapon_GreatAxe_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 24,
  "vars": {
    "var1": 0.15
  },
  "costs": [],
  "flags": 0,
  "props": {
    "rankOverride": [
      {
        "vars": {
          "var1": 0.25
        },
        "minRank": 2
      }
    ]
  },
  "steps": [],
  "texts": {
    "desc": "You deal ::var1%:: increased damage to enemies affected by crowd control effects.",
    "name": "Domination",
    "rankDescs": [
      {
        "desc": "Bonus is increased to ::var1%::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "You gain the same bonus against enemies immune to crowd control effects.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 5,
  "script": "function onInflictDamageEval(hit) {\n\tif( hit.target.hasStatusType(StatusType.Stun) || hit.target.hasStatusType(StatusType.Root) || hit.target.hasStatusType(StatusType.Slow) || (rank >= 3 && hit.target.isCCImmune())) {\n\t\thit.dmgMult += vars.var1;\n\t}\n}",
  "status": 2,
  "mastery": []
}