FareverDB

Crabgantua

World Boss
Crabgantua

Crabgantua, Creature of the Nepsids, was bred and trained to become a humongous warmount. The first part of the plan was such a success that its tamers got devoured before they could get to the second.

Raw data
{
  "id": "Crabgantua",
  "gfx": {
    "x": 0,
    "y": 0,
    "file": "UI/Portraits/Units/R1CrabBoss.png",
    "size": 256
  },
  "lvl": 8,
  "type": "Crab",
  "vars": {
    "var1": 15,
    "var2": 10
  },
  "flags": 16,
  "parts": {},
  "props": {
    "foe": {
      "skillRecupTime": 3
    },
    "lootTable": "Crabgantua_LT2",
    "bossLootTable": "Crabgantua"
  },
  "stats": [
    {
      "flags": 0,
      "attribute": "FoePower",
      "multiplier": 3,
      "levelScaling": []
    },
    {
      "flags": 0,
      "attribute": "Vitality",
      "multiplier": 23,
      "levelScaling": []
    },
    {
      "flags": 0,
      "attribute": "Armor",
      "specScaling": {
        "armorReduction": 0.4
      },
      "levelScaling": []
    },
    {
      "flags": 0,
      "attribute": "MagicArmor",
      "specScaling": {
        "magicReduction": 0.4
      },
      "levelScaling": []
    }
  ],
  "texts": {
    "desc": "Crabgantua, Creature of the Nepsids, was bred and trained to become a humongous warmount. The first part of the plan was such a success that its tamers got devoured before they could get to the second.",
    "name": "Crabgantua",
    "lines": [
      {
        "text": "$icon(Warning) Take refuge on the shell fragments! $icon(Warning)"
      }
    ]
  },
  "models": [
    {
      "ref": "R1CrabBoss",
      "template": 0
    }
  ],
  "script": "var nayaSkill = Skill.R1CrabBoss_NayasFury;\nvar chargeSkill = Skill.R1CrabBoss_HuntDown;\nvar moveStatus: st.skill.Status;\n\nfunction onCombatUpdate(dt) {\n\tswitch(currentSequence) {\n\t\tcase Sequences.NayasFury:\n\t\tdefault:\n\t\t\tif(isSkillReady(unit, nayaSkill)) {\n\t\t\t\trequestSequence(Sequences.NayasFury);\n\t\t\t}\n\t}\n\t/*if(isFree() && getCombatTimeSinceLastSkill() > vars.var2)\n\t\tforceCast(chargeSkill);*/\n}\n\nfunction onEnterSequence(seq) {\n\tswitch(seq) {\n\t\tcase Sequences.NayasFury:\n\t\t\tmoveTo(\"A\");\n\t\t\tmoveStatus = addStatus(Skill.R1CrabBoss_NayasFuryMoveStatus);\n\t\tdefault:\n\t\t\tif(moveStatus != null)\n\t\t\t\tmoveStatus.stop();\n\t\t\tmoveStatus = null;\n\t}\n}\n\nfunction onReachMoveTarget() {\n\tswitch(currentSequence) {\n\t\tcase Sequences.NayasFury:\n\t\t\tif(moveStatus != null)\n\t\t\t\tmoveStatus.stop();\n\t\t\tmoveStatus = null;\n\t\t\tforceCast(nayaSkill);\n\t\tdefault:\n\t}\n}\n\nfunction onSkillEnd(skill, cancel) {\n\tswitch(currentSequence) {\n\t\tcase Sequences.NayasFury:\n\t\t\tif(isSkill(skill, nayaSkill)) {\n\t\t\t\tleaveSequence();\n\t\t\t\tupdateAggro();\n\t\t\t}\n\t\tdefault:\n\t}\n}\n\nfunction onCombatEnd() {\n\tif(moveStatus != null)\n\t\tmoveStatus.stop();\n\tmoveStatus = null;\n}",
  "skills": [
    {
      "flags": 0,
      "props": {},
      "skill": "R1CrabBoss_TidalSlash",
      "phaseBlacklist": []
    },
    {
      "flags": 0,
      "props": {},
      "skill": "R1CrabBoss_ChitinousExoskeleton",
      "phaseBlacklist": []
    },
    {
      "flags": 1,
      "props": {},
      "skill": "R1CrabBoss_NayasFury",
      "phaseBlacklist": []
    },
    {
      "flags": 0,
      "props": {},
      "skill": "R1CrabBoss_HuntDown",
      "phaseBlacklist": []
    },
    {
      "flags": 1,
      "props": {},
      "skill": "R1CrabBoss_ChitinousExoskeleton_Spike",
      "phaseBlacklist": []
    }
  ],
  "faction": "Manfish",
  "inherit": [
    {
      "ref": "D_Base"
    }
  ],
  "sequences": [
    {
      "id": "NayasFury",
      "animOverrides": []
    }
  ],
  "moveSetBase": "ManFish",
  "talentTrees": []
}