Raging Smash
Warrior_Rage_Strike in SkillsStrikes the ground with rage, dealing 160% Strength Physical to nearby enemies and knocking them back.
- id
- Warrior_Rage_Strike
- type
- 17
- flags
- 0
- nature
- 2
- script
- // function onHit(hit) { // if (hasMastery(Mastery.Warrior_RageStrike_M1)) { // addStatus(hit.target, Skill.Warrior_RageStrike_Slow) // } // } function onDamageEval(hit) { if (hasMastery(Mastery.Warrior_RageStrike_M3) && hit.targetUnit.healthRatio <= vars.threshold) { hit.dmgMult += vars.damage; } } var SURGE = Skill.Warrior_Talent_SurgeOfViolence_Status; function onStop(ctx) { removeStatus(owner, SURGE); } function shouldHighlightSkill() { return hasStatus(owner, SURGE); } function onInflictDamageEval(hit) { if (hasStatus(owner, SURGE)) { hit.critChance = 100; } } function evalCost(val, atb) { if (hasMastery(Mastery.Warrior_RageStrike_M2)) { if (atb == Attribute.Rage) { val -= vars.var1; } } if (hasStatus(owner, SURGE)) { return 0; } return val; }
- status
- 2
- duration
- 0.4
Raw data
{
"id": "Warrior_Rage_Strike",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/icons/atlas_class_Warrior_96PX.png",
"size": 96
},
"anim": {
"ref": "WarriorExecute"
},
"type": 17,
"vars": {
"dur1": 3,
"damage": 0.5,
"threshold": 0.2
},
"flags": 0,
"props": {
"hit": {
"shake": 10,
"freeze": 2.5,
"camShake": 20
},
"costs": [
{
"atb": "Rage",
"amount": 10
}
]
},
"steps": [
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Warrior_Execute",
"props": {},
"space": 0
}
]
}
},
{
"on": 0,
"type": 9,
"props": {},
"range": 5.5,
"duration": 0.15
},
{
"on": 0,
"type": 8,
"props": {
"move": {
"direction": [
0
],
"inputDirection": {
"mode": 1,
"relation": 0
}
}
},
"range": 0.7,
"duration": 0.2
},
{
"on": 0,
"type": 4,
"delay": 0.3,
"props": {
"position": {
"directionalOffset": {
"x": 1
}
}
},
"range": 4,
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Strength",
"ratio": 1.6
}
],
"affinity": "Physical",
"sideEffects": {
"knockBack": {
"type": 1,
"pushForce": 5,
"knockUpForce": 10
}
}
}
],
"visuals": {
"hitFx": "PH_Hit_Skill"
}
},
{
"on": 1,
"cond": {
"mastery": "Warrior_RageStrike_M1"
},
"type": 1,
"props": {
"status": {
"ref": "Slow"
}
},
"range": "",
"duration": "dur1"
}
],
"texts": {
"desc": "Strikes the ground with rage, dealing ::dmg:: to nearby enemies and knocking them back.",
"name": "Raging Smash"
},
"nature": 2,
"script": "// function onHit(hit) {\n// \tif (hasMastery(Mastery.Warrior_RageStrike_M1)) {\n// \t\taddStatus(hit.target, Skill.Warrior_RageStrike_Slow)\n// \t}\n// }\n\nfunction onDamageEval(hit) {\n\tif (hasMastery(Mastery.Warrior_RageStrike_M3) && hit.targetUnit.healthRatio <= vars.threshold) {\n\t\thit.dmgMult += vars.damage;\n\t}\n}\n\nvar SURGE = Skill.Warrior_Talent_SurgeOfViolence_Status;\nfunction onStop(ctx) {\n\tremoveStatus(owner, SURGE);\n}\n\nfunction shouldHighlightSkill() {\n\treturn hasStatus(owner, SURGE);\n}\n\nfunction onInflictDamageEval(hit) {\n\tif (hasStatus(owner, SURGE)) {\n\t\thit.critChance = 100;\n\t}\n}\n\nfunction evalCost(val, atb) {\n\tif (hasMastery(Mastery.Warrior_RageStrike_M2)) {\n\t\tif (atb == Attribute.Rage) {\n\t\t\tval -= vars.var1;\n\t\t}\n\t}\n\tif (hasStatus(owner, SURGE)) {\n\t\treturn 0;\n\t}\n\treturn val;\n}",
"status": 2,
"mastery": [
{
"id": "Warrior_RageStrike_M1",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_Rage_Strike/Warrior_RageStrike_M1.png",
"size": 256
},
"text": {
"desc": "::name:: slows the enemies by ::ref_val1%:: for ::dur1::.",
"name": "Thundersmash"
},
" vars": {}
},
{
"id": "Warrior_RageStrike_M2",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_Rage_Strike/Warrior_RageStrike_M2.png",
"size": 256
},
"text": {
"desc": "::name:: costs ::var1:: less [Rage].",
"name": "Scent of Battle"
},
"vars": {
"var1": 1
}
},
{
"id": "Warrior_RageStrike_M3",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_Rage_Strike/Warrior_RageStrike_M3.png",
"size": 256
},
"text": {
"desc": "::name:: deals ::damage%:: increased damage to enemies under ::threshold%:: [Health].",
"name": "Execution"
},
"vars": {
"damage": 0.25,
"threshold": 0.35
}
}
],
"duration": 0.4
}