FareverDB

King Ratsar

World Boss
Ratsar

Ratsar, First of the Kobold kings to settle in Siagarta, is notoriously driven by his imperishable spite. A sentiment rooted in lactose intolerance as well as human intolerance.

Raw data
{
  "id": "Ratsar",
  "gfx": {
    "x": 0,
    "y": 0,
    "file": "UI/Portraits/Units/R1KoboldBoss-R(GS_R3_R1Mines_Fig).png",
    "size": 256
  },
  "lvl": 10,
  "type": "Kobold",
  "vars": {},
  "flags": 16,
  "parts": {},
  "props": {
    "phases": {
      "list": [
        {
          "props": {}
        },
        {
          "props": {},
          "entrySequence": "SparkAbsorption",
          "healthThreshold": 0.8
        },
        {
          "props": {},
          "entrySequence": "SparkAbsorption",
          "healthThreshold": 0.6
        },
        {
          "props": {},
          "entrySequence": "SparkAbsorption",
          "healthThreshold": 0.4
        },
        {
          "props": {},
          "entrySequence": "TrainWave",
          "healthThreshold": 0.2
        }
      ]
    },
    "bossLootTable": "Ratsar",
    "skillRecupTime": 1
  },
  "stats": [
    {
      "flags": 0,
      "attribute": "Vitality",
      "multiplier": 16,
      "levelScaling": []
    },
    {
      "flags": 0,
      "attribute": "Armor",
      "specScaling": {
        "armorReduction": 0.4
      },
      "levelScaling": []
    },
    {
      "flags": 0,
      "attribute": "MagicArmor",
      "specScaling": {
        "magicReduction": 0.4
      },
      "levelScaling": []
    }
  ],
  "texts": {
    "desc": "Ratsar, First of the Kobold kings to settle in Siagarta, is notoriously driven by his imperishable spite. A sentiment rooted in lactose intolerance as well as human intolerance.",
    "name": "King Ratsar"
  },
  "models": [
    {
      "ref": "R1KoboldBoss",
      "weapon": "Character/Weapon/GreatSword/GS_R3_R1Mines_Fig.prefab",
      "template": 0
    }
  ],
  "script": "var spinCount = 0;\n\nfunction onSkillEnd(s, cancel) {\n\tif (s.kind == Skill.Ratsar_Spin) {\n\t\tif (cancel) {\n\t\t\tspinCount = 0;\n\t\t}\n\t\telse {\n\t\t\tspinCount++;\n\t\t\tif (spinCount%2 != 0)\n\t\t\t\tunit.forceUseSkill(Skill.Ratsar_Spin);\n\t\t}\n\t}\n\n}",
  "skills": [
    {
      "flags": 0,
      "props": {},
      "skill": "Ratsar_Attack",
      "phaseBlacklist": []
    },
    {
      "flags": 0,
      "props": {
        "rankPerPhase": [
          {
            "rank": 2,
            "minPhase": 2
          },
          {
            "rank": 3,
            "minPhase": 3
          }
        ]
      },
      "skill": "Ratsar_GreatSlam",
      "phaseBlacklist": []
    },
    {
      "flags": 0,
      "props": {},
      "skill": "Ratsar_Spin",
      "phaseBlacklist": []
    },
    {
      "flags": 1,
      "props": {},
      "skill": "Ratsar_SparkAbsorption",
      "phaseBlacklist": []
    },
    {
      "flags": 1,
      "props": {},
      "skill": "Ratsar_KingRageSuccessState",
      "phaseBlacklist": []
    },
    {
      "flags": 1,
      "props": {},
      "skill": "Ratsar_KingRageFailState",
      "phaseBlacklist": []
    }
  ],
  "faction": "Kobold",
  "inherit": [
    {
      "ref": "D_Base"
    }
  ],
  "sequences": [
    {
      "id": "SparkAbsorption",
      "comment": "Requests the carts with associated mobs and move next to them, on arrival, will start casting the absorption skill. Ended upon absorption skill end.",
      "animOverrides": []
    },
    {
      "id": "TrainWave",
      "animOverrides": []
    }
  ],
  "moveSetBase": "Kobold",
  "talentTrees": []
}