Home · skill · Fists_LightMonk_Skill1_Recast
Properties
- status
- QA
- nature
- Ability
- steps
- flags
Referenced by
item (1)
Raw data
{
"status": "QA",
"gfx": {
"file": "UI/icons/atlas_weapon_Fists_96PX.png",
"size": 48,
"x": 14,
"y": 0,
"width": 2,
"height": 2
},
"id": "Fists_LightMonk_Skill1_Recast",
"nature": "Ability",
"texts": {},
"anim": {
"file": "Anim/Human/Common/_Fists/Skill/Anim_Human_Fists_HomingPunchDash.fbx"
},
"steps": [
{
"on": 13,
"props": {},
"id": "Cast",
"type": 3,
"range": 150
},
{
"on": 7,
"props": {
"move": {
"direction": [
0
],
"dashSmoothing": 4,
"flags": 2000
},
"position": {
"origin": 1
}
},
"type": 9,
"delay": 0.1,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Human/Common/_Fists/Skill/Anim_Human_Fists_HomingPunchDash.fbx",
"blend": 0
}
}
],
"fxs": [
{
"set": "Light_Dash",
"props": {
"offset": {
"x": 0.25,
"y": 0,
"z": 2.2,
"height": 0
}
},
"space": 0
}
]
},
"duration": 0.2,
"id": "placeholder_dash",
"range": -0.5
},
{
"on": 7,
"props": {
"rotation": {
"direction": 1
}
},
"type": 13
},
{
"on": 7,
"props": {},
"type": 6,
"delay": 0.2,
"duration": 0.2,
"range": 3,
"effects": [
{
"affinity": "Light",
"effect": 0,
"scaling": [
{
"ratio": 1.2,
"atb": "Dexterity"
},
{
"ratio": 1.2,
"atb": "Faith"
}
],
"baseVal": 0,
"flags": 0
}
],
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Human/Common/_Fists/Skill/Anim_Human_Fists_HomingPunch.fbx",
"blend": 0
}
}
],
"camShake": 30
}
},
{
"on": 7,
"props": {},
"id": "Hit",
"type": 11,
"duration": 0.5
}
],
"flags": [
"Hidden"
],
"mastery": [],
"props": {},
"vars": {},
"script": "function shouldHighlightSkill(){\n\treturn true;\n}\n\nfunction onStart(ctx) {\n\tvar marks = getInflictedStatuses(Skill.Fists_LightMonk_Skill1_Status);\n\tvar closestTarget = null;\n\tvar bestDistance = 0.;\n\tfor (m in marks) {\n\t\tvar distance = m.owner.distanceBetween(owner);\n\t\tif (closestTarget == null || bestDistance > distance) {\n\t\t\tclosestTarget = m.owner;\n\t\t\tbestDistance = distance;\n\t\t}\n\t}\n\n\tplayStep(Steps.Cast, closestTarget);\n\tconsumeStatus(closestTarget, Skill.Fists_LightMonk_Skill1_Status);\n}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Fists_LightMonk",
"via_field": "skills"
}
]
}