Dash
Dash_Base in SkillsDash forward, dodging all [Attack]s and sprinting.
- id
- Dash_Base
- type
- 12
- flags
- 1300
- notes
- ajouter i-frame pendant le dash
- nature
- 2
- script
- function onClientStep(s) { if(s.kind == Steps.CheckGround) { if(!owner.body.grounded) localPlayStep(Steps.Air); } }
- status
- 0
- cooldown
- 10
Raw data
{
"id": "Dash_Base",
"gfx": {
"x": 1,
"y": 0,
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96
},
"anim": {
"ref": "Dash",
"blend": 0.05
},
"type": 12,
"vars": {},
"flags": 1300,
"notes": "ajouter i-frame pendant le dash",
"props": {
"charges": 2,
"aimStyle": 2,
"interruptStyle": 1
},
"steps": [
{
"id": "Dash",
"on": 0,
"type": 8,
"delay": 0,
"props": {
"move": {
"flags": 133,
"direction": [
0
],
"dashSmoothing": 4,
"inputDirection": {
"mode": 1,
"relation": 0
}
}
},
"range": 5,
"duration": 0.3
},
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Dash_Start_Generic",
"props": {},
"space": 1
}
]
}
},
{
"on": 12,
"cond": {
"step": "Dash"
},
"type": 1,
"props": {
"status": {
"ref": "Dash_Status",
"target": 0
}
}
},
{
"id": "CheckGround",
"on": 0,
"type": 11,
"delay": 0.2,
"props": {}
},
{
"id": "Air",
"on": 13,
"type": 11,
"props": {},
"visuals": {
"playAnims": [
{
"anim": {
"ref": "FallLoop",
"blend": 0.2
}
}
]
}
}
],
"texts": {
"desc": "Dash forward, dodging all [Attack]s and sprinting.",
"name": "Dash",
"refs": {
"ref": "Dash_Status"
}
},
"nature": 2,
"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}",
"status": 0,
"mastery": [],
"cooldown": 10
}