Swift Strike
Spear_Eruption_Combo in SkillsStrikes forward, dealing 62% Dexterity + 62% Faith Physical to an enemy and increasing your [CritChance] by 3%, stacking up to 3 times.
- id
- Spear_Eruption_Combo
- type
- 4
- flags
- 0
- nature
- 1
- script
- function onFirstHit(hit) { if (rank >= 2) { reduceWeaponsCooldown(vars.time); } } function onDamage(dmg) { if (rank >= 3 && dmg.critical && dmg.isPhysical) { playStep(Steps.BonusDamage, dmg.target); } trace("Hit"); if (dmg.isPhysical && dmg.isFirstHit) { trace("Phys hit"); addStatus(owner, Skill.Spear_Eruption_Combo_Status); } }
- status
- 2
- duration
- 1.1
Raw data
{
"id": "Spear_Eruption_Combo",
"gfx": {
"x": 8,
"y": 0,
"file": "UI/icons/atlas_weapon_Spear_96PX.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {
"ref": "AttackCombo",
"blend": 0.1,
"startFrame": 3
},
"type": 4,
"vars": {
"time": 0.5,
"var1": 0.35
},
"flags": 0,
"props": {
"hit": {
"shake": 5,
"camShake": 10
}
},
"steps": [
{
"on": 0,
"type": 9,
"props": {},
"range": 6,
"duration": 0.6
},
{
"on": 0,
"type": 8,
"delay": 0.1,
"props": {
"move": {
"direction": [
0
]
}
},
"range": 0.5,
"duration": 0.1
},
{
"on": 0,
"type": 14,
"props": {
"rotation": {
"limiter": 360
}
},
"duration": 1.05
},
{
"on": 0,
"type": 8,
"delay": 0.47,
"props": {
"move": {
"direction": [
0
],
"dashSmoothing": 0
}
},
"range": 2,
"duration": 0.35
},
{
"on": 0,
"type": 8,
"delay": 0.82,
"props": {
"move": {
"direction": [
0
],
"dashSmoothing": 1
}
},
"range": 4,
"duration": 0.23
},
{
"on": 0,
"type": 0,
"delay": 0.9,
"props": {
"area": {
"shape": [
2,
60
]
},
"position": {
"directionalOffset": {
"x": 2
}
}
},
"range": 12,
"effects": [
{
"flags": 0,
"effect": 0,
"baseVal": 0,
"scaling": [
{
"atb": "Dexterity",
"ratio": 0.62
},
{
"atb": "Faith",
"ratio": 0.62
}
],
"affinity": "Physical"
}
]
},
{
"id": "BonusDamage",
"on": 13,
"type": 6,
"props": {},
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Dexterity",
"ratio": 0.25
},
{
"atb": "Faith",
"ratio": 0.25
}
],
"affinity": "Magic"
}
]
}
],
"texts": {
"desc": "Strikes forward, dealing ::dmg:: to an enemy and increasing your [CritChance] by ::ref_val1%::, stacking up to ::ref_stacks:: times.",
"name": "Swift Strike",
"refs": {
"ref": "Spear_Eruption_Combo_Status"
},
"rankDescs": [
{
"desc": "Reduces the cooldown of all your [WeaponSkill]s by ::time::.",
"rank": 2,
"flags": 0
},
{
"desc": "Deals ::dmg2:: if this critically strikes.",
"rank": 3,
"flags": 0
}
]
},
"nature": 1,
"script": "function onFirstHit(hit) {\n\tif (rank >= 2) {\n\t\treduceWeaponsCooldown(vars.time);\n\t}\n\n}\n\nfunction onDamage(dmg) {\n\tif (rank >= 3 && dmg.critical && dmg.isPhysical) {\n\t\tplayStep(Steps.BonusDamage, dmg.target);\n\t}\n\ttrace(\"Hit\");\n\tif (dmg.isPhysical && dmg.isFirstHit) {\n\t\ttrace(\"Phys hit\");\n\t\taddStatus(owner, Skill.Spear_Eruption_Combo_Status);\n\t}\n}",
"status": 2,
"mastery": [],
"duration": 1.1
}