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
commit
7f1b88955d
1 changed files with 1 additions and 1 deletions
  1. +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 var cost = boost_drain * state.step
if Input.is_action_pressed("hero_0_boost") and switch_charge > cost: if Input.is_action_pressed("hero_0_boost") and switch_charge > cost:
walk_speed *= 2 walk_speed *= 2
air_accel *= 2
air_accel *= 3
switch_charge -= cost switch_charge -= cost
.control_player(state) .control_player(state)
wallride(state) wallride(state)


Loading…
Cancel
Save