mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
When the character does not have the Double Strike Combo skill, the ability's stage_data only contains one element, and thus the stage_data.len() - 1 expression would set the max_energy_regen to 0. This change forces the multiplier to 1 in this specific case, so the axe can still reward energy without the combo skill point, to match the other weapons. |
||
---|---|---|
.. | ||
assets | ||
base | ||
benches | ||
ecs | ||
frontend | ||
net | ||
src | ||
state | ||
systems | ||
build.rs | ||
Cargo.toml |