FareverDB

Surging Tide

Halos_Totem_Combo in Skills

Releases two water bolts, each dealing 38.5% Intellect + 38.5% Faith Magic to an enemy. Damage increased by 10% for each active [Totem].

id
Halos_Totem_Combo
type
4
flags
0
nature
1
script
function getTotems() { return getSummons(Skill.Halos_Totem_Skill); } function onStart(ctx) { ctx.dmgMult += getTotems().length * vars.var1; } function onHit(hit) { if(rank >= 3) { if(checkProba(vars.chance)) { var totems = getTotems(); if(totems != null) { for(tot in totems) { tot.addLifetime(vars.time); } } } } }
status
2
duration
1.29
Raw data
{
  "id": "Halos_Totem_Combo",
  "gfx": {
    "x": 4,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Halos_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "ref": "AttackCombo"
  },
  "type": 4,
  "vars": {
    "time": 0.5,
    "var1": 0.1,
    "chance": 0.35
  },
  "flags": 0,
  "props": {
    "hit": {
      "camShake": 8
    },
    "rankOverride": [
      {
        "vars": {
          "var1": 0.2
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "delay": 0.1,
      "props": {},
      "duration": 0.55
    },
    {
      "id": "Projectiles",
      "on": 7,
      "type": 7,
      "delay": -0.1,
      "props": {
        "projectile": {
          "base": "MissileHoming",
          "scale": 1.5,
          "speed": 50,
          "spread": {
            "rotY": 5,
            "rotZ": 5
          },
          "generation": {
            "count": 2,
            "shape": [
              0,
              1,
              200,
              0
            ],
            "duration": 0.15,
            "stepLinked": true,
            "directionBias": 0.5,
            "endActivationDelay": 0.1
          },
          "activationDelay": 1,
          "followForceCurve": [
            0,
            0.05,
            -0.0579415235973892,
            -0.0858872343898479,
            0.120506437149159,
            0.178004585141759,
            0.6,
            0.8,
            -0.301954092598162,
            -0.663938717652413,
            0.0209299145026128,
            0.0460207700191367
          ]
        }
      },
      "range": 40
    },
    {
      "on": 2,
      "type": 0,
      "props": {
        "posTarget": 2
      },
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.385
            },
            {
              "atb": "Faith",
              "ratio": 0.385
            }
          ],
          "affinity": "Magic"
        }
      ]
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 0,
          "inputDirection": {
            "mode": 0,
            "relation": 0
          }
        }
      },
      "range": 1,
      "duration": 0.2
    },
    {
      "on": 7,
      "type": 8,
      "delay": -0.1,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 0,
            "relation": 0
          }
        }
      },
      "range": 2,
      "duration": 0.3
    }
  ],
  "texts": {
    "desc": "Releases two water bolts, each dealing ::dmg:: to an enemy.\nDamage increased by ::var1%:: for each active [Totem].",
    "name": "Surging Tide",
    "rankDescs": [
      {
        "desc": "Damage bonus increased to ::var1%::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "Water bolts have a ::chance:: chance to increase the duration of all your active [Totem]s by ::time::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function getTotems() {\n\treturn getSummons(Skill.Halos_Totem_Skill);\n}\n\nfunction onStart(ctx) {\n\tctx.dmgMult += getTotems().length * vars.var1;\n}\n\nfunction onHit(hit) {\n\tif(rank >= 3) {\n\t\tif(checkProba(vars.chance)) {\n\t\t\tvar totems = getTotems();\n\t\t\tif(totems != null) {\n\t\t\t\tfor(tot in totems) {\n\t\t\t\t\ttot.addLifetime(vars.time);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 1.29
}