Finisher
Rogue_Sig_Finisher in SkillsConsumes all [ComboPoint]s to dash forward, dealing 100% Dexterity Physical and knocking enemies back. Damage increased by 30% per [ComboPoint] consumed.
- id
- Rogue_Sig_Finisher
- type
- 17
- flags
- 0
- nature
- 2
- script
- var damageBonus = 0.0; function onStart(ctx) { damageBonus = 0.0; } function onCooldownEval(ctx,val) { if (hasStatus(owner, Skill.Rogue_UrgeToKill_Status)) { return 1; } return val; } var comboPoint = Skill.Rogue_Finisher_Combo_Point; function onMasteriesChanged() { if (hasMastery(Mastery.Rogue_Finisher_M2)) { if (!hasStatus(owner, comboPoint)) { addStatus(owner, comboPoint); } } else { if (hasStatus(owner, comboPoint)) { removeStatus(owner, comboPoint); } } } function onStep(s) { if(!isServer) return; if(s.kind == Steps.Damage) { var consumed = getCp(); damageBonus = consumed * vars.var1; } if (s.kind == Steps.ConsumeCP) { addAtb(owner, Attribute.ComboPoint, -getCp()); if( hasMastery(Mastery.Rogue_Finisher_M3) ) { addAtb(owner, Attribute.ComboPoint, vars.var3); } } } function getCp() { return round(getAtb(owner, Attribute.ComboPoint)); } function onDamageEval(hit) { hit.dmgMult += damageBonus; }
- status
- 5
- cooldown
- 8
- duration
- 0.45
Raw data
{
"id": "Rogue_Sig_Finisher",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/icons/atlas_class_Rogue_96PX.png",
"size": 96
},
"anim": {
"ref": "RogueFinisher",
"blend": 0.01
},
"type": 17,
"vars": {
"var1": 0.3
},
"flags": 0,
"props": {
"hit": {
"shake": 12,
"freeze": 2,
"camShake": 15
},
"interruptStyle": 0
},
"steps": [
{
"on": 0,
"type": 8,
"props": {
"move": {
"direction": [
1
]
}
},
"range": 1,
"duration": 0.15
},
{
"on": 0,
"type": 8,
"delay": 0.15,
"props": {
"move": {
"direction": [
0
]
}
},
"range": 2,
"duration": 0.05
},
{
"on": 0,
"type": 14,
"props": {
"rotation": {
"limiter": 720,
"direction": 1
}
},
"duration": 0.2
},
{
"on": 0,
"type": 8,
"delay": 0.2,
"props": {
"move": {
"flags": 257,
"direction": [
0
],
"dashSmoothing": 4
}
},
"range": 6,
"visuals": {
"camShake": 50,
"playAnims": [
{
"anim": {
"ref": "RogueFinisher",
"blend": 0,
"startFrame": 7
}
}
]
},
"duration": 0.01
},
{
"on": 0,
"type": 8,
"delay": 0.22,
"props": {
"move": {
"flags": 1,
"direction": [
0
],
"dashSmoothing": 1
}
},
"range": 4,
"duration": 0.23
},
{
"on": 0,
"type": 11,
"delay": 0.15,
"props": {},
"visuals": {
"fxs": [
{
"set": "Rogue_Trail_Big",
"flags": 0,
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0,
"height": 0.2
}
},
"scale": 1.1,
"space": 0,
"attachName": "Socket_Center"
}
]
}
},
{
"id": "Damage",
"on": 0,
"type": 4,
"delay": 0.2,
"props": {
"area": {
"shape": [
1,
3
]
},
"position": {
"directionalOffset": {
"x": -6.5
}
}
},
"range": 14,
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Dexterity",
"ratio": 1
}
],
"affinity": "Physical",
"sideEffects": {
"knockBack": {
"type": 1,
"knockUpForce": 15
}
}
}
],
"visuals": {
"hitFx": "Hit_RogueFinisher_Big"
},
"duration": 0.25
},
{
"id": "ConsumeCP",
"on": 0,
"delay": 0.22,
"props": {}
}
],
"texts": {
"desc": "Consumes all [ComboPoint]s to dash forward, dealing ::dmg:: and knocking enemies back.\nDamage increased by ::var1%:: per [ComboPoint] consumed.",
"name": "Finisher"
},
"nature": 2,
"script": "var damageBonus = 0.0;\n\nfunction onStart(ctx) {\n\tdamageBonus = 0.0;\n}\n\nfunction onCooldownEval(ctx,val) {\n\tif (hasStatus(owner, Skill.Rogue_UrgeToKill_Status)) {\n\t\treturn 1;\n\t}\n\treturn val;\n}\n\nvar comboPoint = Skill.Rogue_Finisher_Combo_Point;\nfunction onMasteriesChanged() {\n\tif (hasMastery(Mastery.Rogue_Finisher_M2)) {\n\t\tif (!hasStatus(owner, comboPoint)) {\n\t\t\taddStatus(owner, comboPoint);\n\t\t}\n\t} else {\n\t\tif (hasStatus(owner, comboPoint)) {\n\t\t\tremoveStatus(owner, comboPoint);\n\t\t}\n\t}\n}\n\nfunction onStep(s) {\n\tif(!isServer) return;\n\tif(s.kind == Steps.Damage) {\n\t\tvar consumed = getCp();\n\t\tdamageBonus = consumed * vars.var1;\n\t}\n\tif (s.kind == Steps.ConsumeCP) {\n\t\taddAtb(owner, Attribute.ComboPoint, -getCp());\n\t\tif( hasMastery(Mastery.Rogue_Finisher_M3) ) {\n\t\t\taddAtb(owner, Attribute.ComboPoint, vars.var3);\n\t\t}\n\t}\n}\n\nfunction getCp() {\n\treturn round(getAtb(owner, Attribute.ComboPoint));\n}\n\nfunction onDamageEval(hit) {\n\thit.dmgMult += damageBonus;\n}",
"status": 5,
"mastery": [
{
"id": "Rogue_Finisher_M1",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Rogue_Sig_Finisher/Rogue_Finisher_M1.png",
"size": 256
},
"text": {
"desc": "Generates an additionnal [ComboPoint] when you critically strike while generating a [ComboPoint].",
"name": "Finality"
},
" vars": {}
},
{
"id": "Rogue_Finisher_M2",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Rogue_Sig_Finisher/Rogue_Finisher_M2.png",
"size": 256
},
"text": {
"desc": "You can now stack up to ::var2:: [ComboPoint].",
"name": "Combo Ruler"
},
"vars": {
"var2": 6
}
},
{
"id": "Rogue_Finisher_M3",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Rogue_Sig_Finisher/Rogue_Finisher_M3.png",
"size": 256
},
"text": {
"desc": "After you use ::name::, you generate ::var3:: [ComboPoint].",
"name": "Killing Spree"
},
"vars": {
"var3": 1
}
}
],
"cooldown": 8,
"duration": 0.45
}