Home · skill · R1CrabBoss_NayasFury
Properties
- status
- Bug
- type
- Skill
- nature
- Ability
- cooldown
- 15
- duration
- 6
- steps
Referenced by
unit (1)
Raw data
{
"status": "Bug",
"gfx": {
"file": "UI/Placeholder/Icons_Resources.png",
"size": 48,
"x": 36,
"y": 38,
"width": 2,
"height": 2
},
"id": "R1CrabBoss_NayasFury",
"type": "Skill",
"nature": "Ability",
"texts": {
"name": "Naya's Fury"
},
"anim": {
"ref": "Cast",
"loop": true
},
"cooldown": 15,
"duration": 6,
"steps": [
{
"props": {},
"on": 0,
"type": 13,
"duration": 0.3
},
{
"on": 0,
"props": {},
"type": 3,
"duration": 10
},
{
"on": 0,
"visuals": {
"fxs": [
{
"set": "Water_Crabgantua_Nova_Cast",
"space": 0,
"flags": 8,
"props": {}
}
]
},
"props": {},
"type": 11,
"range": 70,
"duration": 9
},
{
"on": 7,
"props": {},
"type": 11,
"delay": -1,
"id": "StopGeysers"
},
{
"on": 7,
"visuals": {
"playAnims": [
{
"anim": {
"playAnims": [
{
"anim": {
"ref": "Attack"
}
}
],
"ref": "Special",
"file": "Anim/GiantCrawler/_Boss_Crabgantua/Anim_GiantCrawler_Crabgantua_Smash.fbx"
}
}
]
},
"props": {},
"type": 11,
"id": "CastEnd"
},
{
"on": 7,
"props": {},
"id": "SpawnCrab",
"type": 11,
"delay": 5
},
{
"on": 7,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Water_Crabgantua_Nova",
"space": 1,
"props": {}
}
]
},
"delay": 3.9
},
{
"on": 7,
"props": {
"area": {
"shape": [
3,
8
],
"height": [
2,
5
],
"rangeScale": {
"targetRange": 90
}
},
"loop": {
"tick": 0.1
}
},
"type": 4,
"delay": 4.2,
"duration": 2,
"range": 8,
"effects": [
{
"affinity": "Water",
"sideEffects": {
"knockBack": {
"type": 1,
"pushForce": 30,
"knockUpForce": 20
}
},
"effect": 0,
"scaling": [
{
"ratio": 10,
"atb": "FoePower"
}
],
"baseVal": 0,
"flags": 0
}
]
},
{
"on": 7,
"props": {},
"type": 24,
"duration": 6
}
],
"aiProps": {
"castMaxRange": 20,
"recoveryTime": 4,
"pickPrio": 10
},
"flags": [],
"mastery": [],
"props": {
"costs": [
{
"amount": 100,
"atb": "SpecialEnergy"
}
]
},
"vars": {},
"script": "var geysers: Array<ent.GameObject> = [];\nvar roundCount = 0;\nfunction onStart(ctx) {\n geysers = getGameObjectsInRange(owner, 100, function(o) {\n if( toTriggerZone(o) != null )\n return true;\n return false;\n });\n setGeysersEnabled(true);\n requestUnitGameplayPopup(owner, 0, 10);\n\troundCount++;\n}\n\nfunction onStep(s) {\n\tif( s.kind == Steps.StopGeysers )\n\t\tsetGeysersEnabled(false);\n\n if( isServer && s.kind == Steps.SpawnCrab ){\n\t\tfor(i in 0...roundCount) {\n\t\t\tfor(g in [\"spawn1\", \"spawn2\", \"spawn3\"])\n\t\t\t\tsummonGroup(UnitGroup.Crabgantua_Crabs, g);\n\t\t}\n }\n}\n\nfunction onStop(ctx) {\n setGeysersEnabled(false);\n}\n\nfunction setGeysersEnabled(b: Bool) {\n if( !isServer )\n return;\n for( g in geysers ) {\n var tz = toTriggerZone(g);\n if( tz != null )\n tz.setEnabledState(b);\n }\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Crabgantua",
"via_field": "skills"
}
]
}