Home · unit · 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.

Properties

type
Kobold
faction
Kobold
inherit
ref=D_Base
lvl
10
models
ref=R1KoboldBosstemplate=0weapon=Character/Weapon/GreatSword/GS_R3_R1Mines_Fig.prefab
skills
skill=Ratsar_Attackflags=0phaseBlacklist=[]props={}skill=Ratsar_GreatSlamflags=0phaseBlacklist=[]props={"rankPerPhase":[{"minPhase":2,"rank":2},{"minPhase":3,"rank":3}]}skill=Raging Spinflags=0phaseBlacklist=[]props={}skill=Spark Absorptionflags=1phaseBlacklist=[]props={}skill=Ratsar_KingRageSuccessStateflags=1phaseBlacklist=[]props={}skill=Ratsar_KingRageFailStateflags=1phaseBlacklist=[]props={}
moveSetBase
Kobold
stats
levelScaling=[]attribute=Vitalityflags=0multiplier=16levelScaling=[]attribute=Armorflags=0specScaling={"armorReduction":0.4}levelScaling=[]flags=0attribute=MagicArmorspecScaling={"magicReduction":0.4}
sequences
id=SparkAbsorptioncomment=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=TrainWaveanimOverrides=[]
flags
Boss
Raw data
{
  "gfx": {
    "file": "UI/Portraits/Units/R1KoboldBoss-R(GS_R3_R1Mines_Fig).png",
    "size": 256,
    "x": 0,
    "y": 0
  },
  "id": "Ratsar",
  "type": "Kobold",
  "faction": "Kobold",
  "inherit": [
    {
      "ref": "D_Base"
    }
  ],
  "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"
  },
  "lvl": 10,
  "models": [
    {
      "ref": "R1KoboldBoss",
      "template": 0,
      "weapon": "Character/Weapon/GreatSword/GS_R3_R1Mines_Fig.prefab"
    }
  ],
  "parts": {},
  "skills": [
    {
      "skill": "Ratsar_Attack",
      "flags": 0,
      "phaseBlacklist": [],
      "props": {}
    },
    {
      "skill": "Ratsar_GreatSlam",
      "flags": 0,
      "phaseBlacklist": [],
      "props": {
        "rankPerPhase": [
          {
            "minPhase": 2,
            "rank": 2
          },
          {
            "minPhase": 3,
            "rank": 3
          }
        ]
      }
    },
    {
      "skill": "Ratsar_Spin",
      "flags": 0,
      "phaseBlacklist": [],
      "props": {}
    },
    {
      "skill": "Ratsar_SparkAbsorption",
      "flags": 1,
      "phaseBlacklist": [],
      "props": {}
    },
    {
      "skill": "Ratsar_KingRageSuccessState",
      "flags": 1,
      "phaseBlacklist": [],
      "props": {}
    },
    {
      "skill": "Ratsar_KingRageFailState",
      "flags": 1,
      "phaseBlacklist": [],
      "props": {}
    }
  ],
  "talentTrees": [],
  "moveSetBase": "Kobold",
  "stats": [
    {
      "levelScaling": [],
      "attribute": "Vitality",
      "flags": 0,
      "multiplier": 16
    },
    {
      "levelScaling": [],
      "attribute": "Armor",
      "flags": 0,
      "specScaling": {
        "armorReduction": 0.4
      }
    },
    {
      "levelScaling": [],
      "flags": 0,
      "attribute": "MagicArmor",
      "specScaling": {
        "magicReduction": 0.4
      }
    }
  ],
  "props": {
    "phases": {
      "list": [
        {
          "props": {}
        },
        {
          "healthThreshold": 0.8,
          "entrySequence": "SparkAbsorption",
          "props": {}
        },
        {
          "healthThreshold": 0.6,
          "entrySequence": "SparkAbsorption",
          "props": {}
        },
        {
          "healthThreshold": 0.4,
          "entrySequence": "SparkAbsorption",
          "props": {}
        },
        {
          "props": {},
          "healthThreshold": 0.2,
          "entrySequence": "TrainWave"
        }
      ]
    },
    "skillRecupTime": 1,
    "bossLootTable": "Ratsar",
    "lootTable": "RatsarLT2"
  },
  "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": []
    }
  ],
  "flags": [
    "Boss"
  ],
  "vars": {},
  "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}"
}