minor bugfix and pad support
This commit is contained in:
parent
ce671e7124
commit
6e87be3c77
21 changed files with 574 additions and 85 deletions
|
|
@ -147,7 +147,8 @@ namespace RacesOfValheim
|
|||
// way out, same as death or losing the race.
|
||||
if (IsActive) return;
|
||||
|
||||
if (!SvermConfigManagement.RavagerKey.Value.IsDown()) return;
|
||||
if (!SvermConfigManagement.RavagerKey.Value.IsDown() &&
|
||||
!RaceInput.ConsumePress(SvermConfigManagement.RavagerKey.Value)) return;
|
||||
if (!SvermVisuals.IsSvermPlayer(player)) return;
|
||||
|
||||
if (!SvermProgression.Current.RavagerForm)
|
||||
|
|
@ -559,7 +560,8 @@ namespace RacesOfValheim
|
|||
{
|
||||
StartCoroutine(AttackRoutine(SvermRavagerAttacks.Slam, 1.2f, 0.4f, 1.0f));
|
||||
}
|
||||
else if (SvermConfigManagement.RavagerKey.Value.IsDown() && Time.time >= nextTauntAt)
|
||||
else if ((SvermConfigManagement.RavagerKey.Value.IsDown() ||
|
||||
RaceInput.ConsumePress(SvermConfigManagement.RavagerKey.Value)) && Time.time >= nextTauntAt)
|
||||
{
|
||||
nextTauntAt = Time.time + SvermConfig.RavagerTauntCooldownSeconds;
|
||||
StartCoroutine(TauntRoutine());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue