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
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}"
}