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.
Properties
Raw data
{
"gfx": {
"file": "UI/Portraits/Units/R1CrabBoss.png",
"size": 256,
"x": 0,
"y": 0
},
"id": "Crabgantua",
"type": "Crab",
"faction": "Manfish",
"inherit": [
{
"ref": "D_Base"
}
],
"texts": {
"lines": [
{
"text": "$icon(Warning) Take refuge on the shell fragments! $icon(Warning)"
}
],
"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"
},
"lvl": 8,
"models": [
{
"ref": "R1CrabBoss",
"template": 0
}
],
"parts": {},
"skills": [
{
"skill": "R1CrabBoss_TidalSlash",
"flags": 0,
"phaseBlacklist": [],
"props": {}
},
{
"skill": "R1CrabBoss_ChitinousExoskeleton",
"flags": 0,
"phaseBlacklist": [],
"props": {}
},
{
"skill": "R1CrabBoss_NayasFury",
"flags": 1,
"phaseBlacklist": [],
"props": {}
},
{
"skill": "R1CrabBoss_HuntDown",
"flags": 0,
"phaseBlacklist": [],
"props": {}
},
{
"skill": "R1CrabBoss_ChitinousExoskeleton_Spike",
"phaseBlacklist": [],
"props": {},
"flags": 1
}
],
"talentTrees": [],
"moveSetBase": "ManFish",
"stats": [
{
"levelScaling": [],
"attribute": "FoePower",
"flags": 0,
"multiplier": 3
},
{
"levelScaling": [],
"attribute": "Vitality",
"flags": 0,
"multiplier": 23
},
{
"levelScaling": [],
"attribute": "Armor",
"flags": 0,
"specScaling": {
"armorReduction": 0.4
}
},
{
"levelScaling": [],
"flags": 0,
"attribute": "MagicArmor",
"specScaling": {
"magicReduction": 0.4
}
}
],
"props": {
"foe": {
"skillRecupTime": 3
},
"bossLootTable": "Crabgantua",
"lootTable": "Crabgantua_LT2"
},
"sequences": [
{
"id": "NayasFury",
"animOverrides": []
}
],
"flags": [
"Boss"
],
"vars": {
"var1": 15,
"var2": 10
},
"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}"
}