Stingerang
Spear_Goo_Skill1 in SkillsFires a piercing stinger in the targeted direction, dealing 125% Intellect Magic to enemies and knocking them back. After 2, the stinger returns to you, dealing 180% Strength Physical on its way back, drawing enemies toward you.
- id
- Spear_Goo_Skill1
- type
- 7
- flags
- 0
- nature
- 2
- script
- function onProjectileCreated(proj) { proj.config.returnDelay = vars.dur1; } function onDamageEval(hit) { if (rank >= 2) { hit.critChance += vars.chance; } } function onProjectileEnd(proj) { if( rank >= 3 ) { addStatus(owner, Skill.Spear_Goo_Skill1_Status); } }
- status
- 2
- cooldown
- 8
Raw data
{
"id": "Spear_Goo_Skill1",
"gfx": {
"x": 2,
"y": 0,
"file": "UI/icons/atlas_weapon_Spear_96PX.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {
"file": "Anim/Human/Polearm/_Spear/Skill/Anim_Human_Spear_Shoot.fbx",
"blend": 0.1
},
"type": 7,
"vars": {
"dur1": 2,
"chance": 0.5
},
"flags": 0,
"props": {},
"steps": [
{
"on": 0,
"type": 13,
"props": {
"rotation": {
"limiter": 1000,
"direction": 3
}
},
"duration": 0.8
},
{
"id": "Projectile",
"on": 0,
"type": 7,
"delay": 0.8,
"props": {
"position": {
"directionalOffset": {
"x": -3,
"y": 0,
"z": 1.2
}
},
"projectile": {
"base": "Boomerang",
"fxSet": "Projectile_Honey_Stinger",
"scale": 0.5,
"speed": 25,
"lifetime": 10,
"boomerang": {
"range": 20
},
"returning": {
"mode": "MissileHoming",
"delay": 0.75,
"speed": 70
},
"generation": {
"count": 1,
"shape": [
0,
0.1,
0,
0
],
"duration": 0,
"shapeRot": {
"yaw": 0,
"roll": 0,
"pitch": 90
},
"stepLinked": true,
"directionBias": 0
},
"collisionRadius": 5
}
},
"range": 30
},
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Telegraph_Line_Preview",
"flags": 24,
"props": {
"matchStep": "Projectile"
},
"space": 2
}
]
},
"duration": 0.8
},
{
"on": 2,
"cond": {
"projectile": {
"isReturning": false
}
},
"type": 0,
"props": {
"position": {
"origin": 2
}
},
"effects": [
{
"flags": 0,
"effect": 0,
"baseVal": 0,
"scaling": [
{
"atb": "Intellect",
"ratio": 1.25
}
],
"affinity": "Magic",
"sideEffects": {
"knockBack": {
"type": 1,
"direction": 0,
"pushForce": 15,
"knockUpForce": 10
}
}
}
]
},
{
"on": 2,
"cond": {
"projectile": {
"isReturning": true
}
},
"type": 0,
"props": {
"position": {
"origin": 2
}
},
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Strength",
"ratio": 1.8
}
],
"affinity": "Physical",
"sideEffects": {
"knockBack": {
"type": 1,
"direction": 0,
"pushForce": -15,
"knockUpForce": 10
}
}
}
]
},
{
"on": 0,
"type": 8,
"delay": 0.83,
"props": {
"move": {
"direction": [
1
],
"dashSmoothing": 1
}
},
"range": 0.7,
"duration": 0.15
}
],
"texts": {
"desc": "Fires a piercing stinger in the targeted direction, dealing ::dmg:: to enemies and knocking them back. After ::dur1::, the stinger returns to you, dealing ::dmg2:: on its way back, drawing enemies toward you.",
"name": "Stingerang",
"refs": {
"ref": "Spear_Goo_Skill1_Status"
},
"rankDescs": [
{
"desc": "Has a ::chance:: increased chance to critically strike.",
"rank": 2,
"flags": 0
},
{
"desc": "Your movement speed is increased by ::ref_val1%:: for ::ref_duration:: after the stinger returned to you.",
"rank": 3,
"flags": 0
}
]
},
"nature": 2,
"script": "function onProjectileCreated(proj) {\n\tproj.config.returnDelay = vars.dur1;\n}\n\nfunction onDamageEval(hit) {\n\tif (rank >= 2) {\n\t\thit.critChance += vars.chance;\n\t}\n}\n\nfunction onProjectileEnd(proj) {\n\tif( rank >= 3 ) {\n\t\taddStatus(owner, Skill.Spear_Goo_Skill1_Status);\n\t}\n}",
"status": 2,
"mastery": [],
"cooldown": 8
}