Dash forward, dodging all Attacks and sprinting.
Properties
- status
- WIP
- type
- Dash
- nature
- Ability
- cooldown
- 10
- steps
- flags
- notes
- ajouter i-frame pendant le dash
Referenced by
Raw data
{
"status": "WIP",
"gfx": {
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96,
"x": 1,
"y": 0
},
"id": "Dash_Base",
"type": "Dash",
"nature": "Ability",
"texts": {
"name": "Dash",
"desc": "Dash forward, dodging all [Attack]s and sprinting.",
"refs": {
"ref": "Dash_Status"
}
},
"anim": {
"ref": "Dash",
"blend": 0.05
},
"cooldown": 10,
"steps": [
{
"on": 0,
"type": 8,
"duration": 0.3,
"range": 5,
"props": {
"move": {
"inputDirection": {
"mode": 1,
"relation": 0
},
"flags": 133,
"direction": [
0
],
"dashSmoothing": 4
}
},
"delay": 0,
"id": "Dash"
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Dash_Start_Generic",
"space": 1,
"props": {}
}
]
}
},
{
"on": 12,
"props": {
"status": {
"ref": "Dash_Status",
"target": 0
}
},
"type": 1,
"cond": {
"step": "Dash"
}
},
{
"on": 0,
"props": {},
"type": 11,
"delay": 0.2,
"id": "CheckGround"
},
{
"on": 13,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "FallLoop",
"blend": 0.2
}
}
]
},
"props": {},
"id": "Air",
"type": 11
}
],
"flags": [
"CanSprint",
"IsMovement",
"NoAirQueue",
"IgnoreGCD"
],
"mastery": [],
"props": {
"interruptStyle": 1,
"aimStyle": 2,
"charges": 2
},
"notes": "ajouter i-frame pendant le dash",
"vars": {},
"script": "function onClientStep(s) {\n\tif(s.kind == Steps.CheckGround) {\n\t\tif(!owner.body.grounded)\n\t\t\tlocalPlayStep(Steps.Air);\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Warrior",
"via_field": "skills"
},
{
"from_sheet": "unit",
"from_id": "Rogue",
"via_field": "skills"
},
{
"from_sheet": "unit",
"from_id": "Mage",
"via_field": "skills"
},
{
"from_sheet": "unit",
"from_id": "Priest",
"via_field": "skills"
},
{
"from_sheet": "unit",
"from_id": "BaseHero",
"via_field": "skills"
}
]
}