Home · skill · Phrixes_NightSalvo
Properties
- type
- Skill
- nature
- Spell
- cooldown
- 5
- duration
- 2
- steps
- flags
Referenced by
unit (1)
Raw data
{
"gfx": {
"file": "UI/Placeholder/Icons_Resources.png",
"size": 48,
"x": 36,
"y": 38,
"width": 2,
"height": 2
},
"id": "Phrixes_NightSalvo",
"type": "Skill",
"nature": "Spell",
"texts": {
"name": "Night Salvo"
},
"anim": {
"speed": 0.6,
"ref": "Cast"
},
"cooldown": 5,
"duration": 2,
"steps": [
{
"on": 0,
"props": {},
"type": 13,
"duration": 2
},
{
"props": {},
"on": 0,
"type": 3,
"duration": 2
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Chaos_Aura",
"props": {},
"attachName": "B_Pelvis",
"space": 0
},
{
"set": "Chaos_Cast",
"props": {},
"attachName": "ATTACH_World_Weapon_R",
"space": 0
}
]
},
"duration": 2
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "Cast",
"loop": true,
"blend": 0.15
}
}
]
},
"delay": 0.5
},
{
"on": 7,
"props": {},
"type": 11,
"visuals": {
"playAnims": [
{
"anim": {
"speed": 1,
"ref": "CastProjectile",
"blend": 0.1
}
}
]
},
"delay": -0.75
},
{
"on": 7,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Chaos_Blast",
"props": {
"offset": {
"x": 5,
"y": 0,
"z": 0,
"height": 0
}
},
"attachName": "ATTACH_World_Weapon_R",
"space": 2,
"scale": 1
}
]
},
"delay": -0.12
},
{
"on": 7,
"props": {},
"type": 24,
"duration": 1.2
},
{
"on": 7,
"visuals": {
"playAnims": [
{
"anim": {
"loop": false,
"ref": "MagicCast"
}
}
]
},
"props": {},
"type": 11,
"delay": -1.25
},
{
"props": {},
"on": 7,
"id": "CastEnd",
"type": 11
},
{
"props": {
"projectile": {
"speed": 50,
"fxSet": "Projectile_Chaos_Big",
"aimStyle": 4,
"base": "MissileStraight"
}
},
"on": 8,
"type": 7,
"range": 80,
"id": "Projectile"
},
{
"props": {
"position": {
"origin": 2
}
},
"effects": [
{
"affinity": "Chaos",
"effect": 0,
"scaling": [
{
"ratio": 0.5,
"atb": "FoePower"
}
],
"baseVal": 0,
"flags": 0
}
],
"on": 2,
"type": 0
}
],
"flags": [
"RequireStop"
],
"mastery": [],
"props": {},
"vars": {},
"script": "var timeBetweenProjectiles = 0.2;\n\nfunction onStep(s) {\n if(s.kind == Steps.CastEnd) {\n var projStep = getStepById(Steps.Projectile);\n\t\tvar skillTargets = getAITargets();\n var targetCount = skillTargets.length;\n\n for(i in 0...targetCount) {\n var t = skillTargets[i];\n wait(i*timeBetweenProjectiles, function() {\n projStep.generateProjectile(t);\n });\n }\n wait(targetCount*timeBetweenProjectiles, () -> stop());\n }\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Phrixes",
"via_field": "skills"
}
]
}