Presas do Vazio
Habilidade
Dispara uma Presa do Vazio.
reativação0.5s
duração—
passos2
Dados brutos
- type
- SubSkill
- nature
- Ability
- Recarga
- 0.5s
- steps
- 2
- id
- Daggers_Demondash_Skill2_Shoot
raw data
{
"id": "Daggers_Demondash_Skill2_Shoot",
"gfx": {
"x": 12,
"y": 0,
"file": "UI/icons/atlas_weapon_Dagger_96PX.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {},
"type": 8,
"vars": {},
"flags": 0,
"props": {},
"steps": [
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Chaos_Blink_Appear",
"flags": 0,
"props": {},
"scale": 0.2,
"space": 0,
"attachName": "ATTACH_World_Weapon_L"
}
],
"playAnims": [
{
"anim": {
"ref": "Mark",
"blend": 0.1,
"speed": 1,
"startFrame": 4
}
}
]
},
"duration": 0.3
},
{
"id": "Shoot",
"on": 0,
"type": 3,
"delay": 0,
"props": {},
"range": 50
}
],
"texts": {
"desc": "Fires a Void Fang.",
"name": "Void Fangs"
},
"nature": 2,
"script": "function onStep(s) {\n\tif (s.kind == Steps.Shoot) {\n\t\tfireProjectile();\n\t}\n}\n// function onClientStep(s) {\n// \tif (s.kind == Steps.Shoot) {\n// \t\tfireProjectile();\n// \t}\n// }\n\nfunction fireProjectile() {\n\tvar s = owner.getSkill(Skill.Daggers_Demondash_Skill2);\n\tif (s != null) {\n\t\tconsumeStatus(owner, Skill.Daggers_Demondash_Skill2_Counter);\n\t\ts.fireProjectiles(ctx.aimTarget, null, 1, 0.3);\n\t}\n}",
"status": 2,
"mastery": [],
"cooldown": 0.5
}