Home · skill · Warrior_SurgingForce
Sends a shockwave in a frontal cone, dealing 60% Vitality and stunning all enemies for 2.
Properties
- status
- Done
- type
- Class Skill
- nature
- Ability
- cooldown
- 45
- duration
- 0.5
- steps
- mastery
Referenced by
unit (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_class_Warrior_96PX.png",
"size": 96,
"x": 6,
"y": 0
},
"id": "Warrior_SurgingForce",
"type": "ClassSkill",
"nature": "Ability",
"texts": {
"name": "Surging Force",
"desc": "Sends a shockwave in a frontal cone, dealing ::dmg:: and stunning all enemies for ::dur1::."
},
"anim": {
"ref": "Stomp",
"blend": 0.01
},
"cooldown": 45,
"duration": 0.5,
"steps": [
{
"on": 0,
"props": {},
"type": 11,
"delay": 0
},
{
"on": 0,
"props": {},
"type": 11,
"delay": 0.1
},
{
"on": 0,
"props": {
"move": {
"direction": [
1
],
"dashSmoothing": 1
}
},
"type": 8,
"duration": 0.1,
"range": 2
},
{
"on": 0,
"props": {
"area": {
"shape": [
2,
70
]
},
"position": {
"directionalOffset": {
"x": 1
}
}
},
"delay": 0.4,
"type": 4,
"visuals": {
"fxs": [
{
"set": "Violence_Burst_Cone",
"props": {},
"scale": 1
},
{
"set": "NoFX",
"props": {}
}
],
"camShake": 50,
"hitFx": "Hit_Violence"
},
"range": 7,
"effects": [
{
"effect": 0,
"scaling": [
{
"ratio": 0.6,
"atb": "Vitality"
}
],
"flags": 0,
"affinity": "Physical"
}
],
"id": "Area"
},
{
"on": 0,
"props": {
"move": {
"direction": [
0
],
"dashSmoothing": 1
}
},
"type": 8,
"duration": 0.1,
"range": 2,
"delay": 0.25
},
{
"on": 1,
"props": {
"status": {
"ref": "Stun"
}
},
"type": 1,
"duration": "dur1"
},
{
"on": 1,
"props": {},
"type": 12,
"effects": [
{
"effect": 3,
"scaling": [],
"flags": 0,
"target": {
"atb": "Rage"
},
"dynVal": 1
}
],
"id": "GainRage"
}
],
"flags": [],
"mastery": [
{
"id": "Warrior_SurgingForce_M1",
" vars": {},
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_SurgingForce/Warrior_SurgingForce_M1.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Battle Momentum",
"desc": "Hitting ::var1:: or more enemies with ::name:: reduces its cooldown by ::time::."
},
"vars": {
"time": 15,
"var1": 3
}
},
{
"id": "Warrior_SurgingForce_M2",
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_SurgingForce/Warrior_SurgingForce_M2.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Fury Pulse",
"desc": "::name:: generates ::var2:: [Rage] for each enemy hit."
},
"vars": {
"var2": 1
}
},
{
"id": "Warrior_SurgingForce_M3",
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_SurgingForce/Warrior_SurgingForce_M3.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Concentrated Impact",
"desc": "::name:: deals ::damage%:: increased damage if only one enemy is hit."
},
"vars": {
"damage": 0.4
}
}
],
"props": {},
"vars": {
"dur1": 2
},
"script": "var totalHits = 0;\nfunction onFirstHit(hit) {\n\tif (hasMastery(Mastery.Warrior_SurgingForce_M1)) {\n\t\ttotalHits = hit.ctx.totalHits;\n\t}\n}\n\nfunction onHit(hit) {\n\tif (hasMastery(Mastery.Warrior_SurgingForce_M2) && hit.stepId == Steps.Area) {\n\t\tsetDynVal(1, vars.var2);\n\t\tplayStep(Steps.GainRage);\n\t}\n}\n\nfunction onDamageEval(hit) {\n\tif (hasMastery(Mastery.Warrior_SurgingForce_M3) && hit.ctx.totalHits == 1) {\n\t\thit.dmgMult += vars.damage;\n\t}\n}\n\n\nfunction onStop(ctx) {\n\tif (hasMastery(Mastery.Warrior_SurgingForce_M1) && totalHits >= vars.var1) {\n\t\treduceCooldown(skill.kind, vars.time);\n\t}\n\ttotalHits = 0;\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Warrior",
"via_field": "skills"
}
]
}