This website works better with JavaScript.
Home
Explore
Help
Sign In
cosine
/
nv-moba
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[Hero 0] Buff boost while in air
This makes it worth it so you don't wait till you're on ground
master
Luna
7 years ago
parent
ca2c139909
commit
7f1b88955d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
scripts/heroes/0.gd
+ 1
- 1
scripts/heroes/0.gd
View File
@ -26,7 +26,7 @@ func control_player(state):
var
cost
=
boost_drain
*
state
.
step
if
Input
.
is_action_pressed
(
"
hero_0_boost
"
)
and
switch_charge
>
cost
:
walk_speed
*=
2
air_accel
*=
2
air_accel
*=
3
switch_charge
-=
cost
.
control_player
(
state
)
wallride
(
state
)
Write
Preview
Loading…
Cancel
Save