FareverDB

Brood Leap

GM_MassGrab_Skill2 in Skills

Leaps through the air towards the targeted area, dealing 125% Strength + 125% Faith + 156.25% Strength + 156.25% Faith Physical and leaving an area upon arrival dealing 100% Faith + 125% Faith Physical over 12.

id
GM_MassGrab_Skill2
type
7
flags
16
nature
2
script
function onInflictDamageEval(dmg) { if (hasStatus(owner, Skill.GM_MassGrab_Combo_Proc) && dmg.skillId == Skill.GM_MassGrab_Skill2) { dmg.critChance = 1; } } function onAreaTick(a) { if (rank >= 3 && checkProba(vars.chance) && a.stepKind == Steps.FloorArea) { playStep(Steps.AreaHeal, null, a.position); } } function onHit(hit) { if (hit.area != null) { if (hit.targetUnit != null && hit.targetUnit.kind == Unit.Summon_Bee) { addStatus(hit.target, Skill.GM_MassGrab_Skill2_Status); } } } function onStep(s) { if (s.kind == Steps.Area) { wait(0.1, () -> { removeStatus(owner, Skill.GM_MassGrab_Combo_Proc); }); } } function shouldHighlightSkill() { return owner.getStatusCount(Skill.GM_MassGrab_Combo_Proc) > 0; }
status
2
cooldown
24
duration
0.1
Raw data
{
  "id": "GM_MassGrab_Skill2",
  "gfx": {
    "x": 6,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Great_Mace_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 7,
  "vars": {
    "dur1": 12,
    "range": 6,
    "chance": 0.25,
    "damage": 0.25
  },
  "flags": 16,
  "props": {
    "aimCheckGround": true
  },
  "steps": [
    {
      "on": 14,
      "type": 25,
      "props": {},
      "range": 30,
      "visuals": {
        "fxs": [
          {
            "set": "Telegraph_Circle_Preview",
            "flags": 16,
            "props": {}
          }
        ]
      }
    },
    {
      "id": "AreaBase1",
      "on": 0,
      "type": 11,
      "delay": 1,
      "props": {},
      "range": "",
      "duration": 1.1
    },
    {
      "id": "Jump",
      "on": 0,
      "type": 21,
      "delay": 0.46,
      "props": {
        "jump": {
          "height": 4,
          "ignoreCollisions": true
        },
        "move": {
          "flags": 64,
          "curveX": [
            0,
            0,
            -0.5,
            0,
            0.0275008979885057,
            0,
            0.0825026939655172,
            0.0439721764165224,
            -0.0254915370677827,
            -0.0325016219723183,
            0.0696046401985448,
            0.0865165696173322,
            0.252414289554379,
            0.295121073475346,
            -0.052584276204823,
            -0.0643084299682253,
            0.0750000000000001,
            0.0911764705882353,
            0.498882004310345,
            0.521875,
            -0.112228462789212,
            -0.0775211750735581,
            0.103448275862069,
            0.0705882352941177,
            0.848019935344827,
            0.736580882352941,
            -0.106034482758621,
            -0.0735294117647058,
            0.0585250682872969,
            0.0401031243746202,
            0.96,
            0.880698529411765,
            -0.02624583999811,
            -0.0655515043793251,
            0.0308259912296241,
            0.0818462236943116,
            1,
            1,
            -0.0133333333333333,
            0,
            -0.5,
            0
          ],
          "curveZ": [
            0,
            0.00245265687857765,
            -0.5,
            0,
            0.0388441655068275,
            0,
            0.0821886203472717,
            0.38377139393905,
            -0.0173792211370185,
            -0.106421402465039,
            0.0284329371296899,
            0.17653116347939,
            0.23,
            0.830983674753505,
            -0.0619878693779024,
            -0.103919638430395,
            0.0382951179234235,
            0.0647280932757764,
            0.36,
            0.960439861305058,
            -0.041935640757146,
            -0.0233691342878285,
            0.0452901786392019,
            0.0235374884639187,
            0.5,
            1,
            -0.0465600993773043,
            -0.0035877598282023,
            0.0552093016866575,
            0.00457265217490566,
            0.67,
            0.981491706655617,
            -0.0529807204497441,
            0.0211744914347049,
            0.0713157992628092,
            -0.0269362174665387,
            0.9,
            0.748812886869346,
            -0.0646065925824388,
            0.161463321511789,
            0.0300071093052966,
            -0.0738656361893313,
            0.953270421502316,
            0.542649441070501,
            -0.0138767085213143,
            0.081699053977494,
            0.0232633121970189,
            -0.139527731567225,
            0.999191230474556,
            0.0116053633134173,
            -10000000000,
            2,
            -10000000000,
            -10000000000
          ],
          "direction": [
            0
          ]
        },
        "position": {
          "origin": 4
        }
      },
      "duration": 1
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Telegraph_Circle_Preview",
            "flags": 24,
            "props": {},
            "space": 1
          }
        ],
        "set": "Telegraph_Circle_Preview",
        "flags": 16,
        "props": {}
      },
      "duration": 1
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/TwoHanded/Skill/Anim_Human_TwoHanded_JumpSmash.fbx"
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.53,
      "props": {},
      "visuals": {
        "camShake": 70
      }
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.9,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Physical_Effect_Activate_Weapon",
            "props": {},
            "scale": 0.8,
            "space": 0
          }
        ],
        "set": "Physical_Effect_Activate_Weapon",
        "props": {},
        "space": 0
      }
    },
    {
      "id": "Area",
      "on": 12,
      "cond": {
        "step": "Jump"
      },
      "type": 4,
      "props": {
        "position": {
          "origin": 4
        }
      },
      "range": "range",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Strength",
              "conds": {
                "maxRank": 1
              },
              "ratio": 1.25
            },
            {
              "atb": "Faith",
              "conds": {
                "maxRank": 1
              },
              "ratio": 1.25
            },
            {
              "atb": "Strength",
              "conds": {
                "minRank": 2
              },
              "ratio": 1.5625
            },
            {
              "atb": "Faith",
              "conds": {
                "minRank": 2
              },
              "ratio": 1.5625
            }
          ],
          "affinity": "Physical"
        }
      ]
    },
    {
      "on": 12,
      "cond": {
        "step": "Jump"
      },
      "type": 4,
      "props": {
        "position": {
          "origin": 4
        }
      },
      "range": "range",
      "visuals": {
        "fxs": [
          {
            "set": "Honey_AOE_FloorImpact",
            "flags": 16,
            "props": {},
            "scale": 1,
            "space": 1
          }
        ]
      },
      "duration": 0.4
    },
    {
      "id": "FloorArea",
      "on": 12,
      "cond": {
        "step": "Jump"
      },
      "type": 4,
      "delay": 0,
      "props": {
        "loop": {
          "tick": 2,
          "flags": 1
        },
        "position": {
          "origin": 4
        }
      },
      "range": "range",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Faith",
              "conds": {
                "maxRank": 1
              },
              "ratio": 1
            },
            {
              "atb": "Faith",
              "conds": {
                "minRank": 2
              },
              "ratio": 1.25
            }
          ],
          "affinity": "Physical"
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Honey_Ally_AOE_Ground_Lasting",
            "flags": 218,
            "props": {}
          }
        ]
      },
      "duration": "dur1"
    },
    {
      "id": "EnrageArea",
      "on": 12,
      "cond": {
        "step": "Jump"
      },
      "type": 4,
      "delay": 0.2,
      "props": {
        "area": {
          "hitFilter": 6
        },
        "loop": {
          "tick": 0.5
        },
        "position": {
          "origin": 4
        }
      },
      "range": "range",
      "duration": "dur1"
    },
    {
      "id": "AreaHeal",
      "on": 13,
      "type": 4,
      "props": {
        "area": {
          "hitFilter": 6
        },
        "position": {
          "origin": 4
        }
      },
      "range": "range",
      "effects": [
        {
          "flags": 0,
          "effect": 1,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.4
            }
          ],
          "affinity": "Physical"
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Honey_AOE_FloorImpact",
            "flags": 16,
            "props": {}
          }
        ]
      }
    }
  ],
  "texts": {
    "desc": "Leaps through the air towards the targeted area, dealing ::dmg:: and leaving an area upon arrival dealing ::dmg2:: over ::dur1::.",
    "name": "Brood Leap",
    "rankDescs": [
      {
        "desc": "Damage increased by ::damage%::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "The area has a ::chance:: chance to bloom, healing all nearby allies for ::heal::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 2,
  "script": "function onInflictDamageEval(dmg) {\n\tif (hasStatus(owner, Skill.GM_MassGrab_Combo_Proc) && dmg.skillId == Skill.GM_MassGrab_Skill2) {\n\t\tdmg.critChance = 1;\n\t}\n}\n\nfunction onAreaTick(a) {\n\tif (rank >= 3 && checkProba(vars.chance) && a.stepKind == Steps.FloorArea) {\n\t\tplayStep(Steps.AreaHeal, null, a.position);\n\t}\n}\n\nfunction onHit(hit) {\n\tif (hit.area != null) {\n\t\tif (hit.targetUnit != null && hit.targetUnit.kind == Unit.Summon_Bee) {\n\t\t\taddStatus(hit.target, Skill.GM_MassGrab_Skill2_Status);\n\t\t}\n\t}\n}\n\nfunction onStep(s) {\n\tif (s.kind == Steps.Area) {\n\t\twait(0.1, () -> {\n\t\t\tremoveStatus(owner, Skill.GM_MassGrab_Combo_Proc);\n\t\t});\n\t}\n}\nfunction shouldHighlightSkill() {\n\treturn owner.getStatusCount(Skill.GM_MassGrab_Combo_Proc) > 0;\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 24,
  "duration": 0.1
}