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