bugfix 21/09/26
This commit is contained in:
parent
834d6647fd
commit
64d8869f98
3 changed files with 70 additions and 3 deletions
|
|
@ -549,7 +549,10 @@ namespace RacesOfValheim
|
|||
// the live button state (via the configured shortcut, so a rebind stays in sync)
|
||||
// rather than a flag set during our Update, so it does not depend on whether
|
||||
// PlayerController's FixedUpdate happens to run first.
|
||||
if (secondaryAttack && SkadiConfig.ColdSpellKey.Value.IsPressedIgnoringHeldKeys() &&
|
||||
// The pad's secondary attack casts only bare-handed (SkadiRace.PadCastsColdSpell), so it
|
||||
// swallows the kick only then; with a weapon in hand the weapon's secondary goes through.
|
||||
bool padCast = RaceInput.PadAttackHeld(2) && SkadiRace.PadCastsColdSpell(Player.m_localPlayer);
|
||||
if (secondaryAttack && (SkadiConfig.ColdSpellKey.Value.IsPressedIgnoringHeldKeys() || padCast) &&
|
||||
SkadiRace.Instance != null && SkadiRace.Instance.IsSkadi())
|
||||
{
|
||||
var rules = SkadiProgression.GetRules(BossProgressionManager.GetCurrentProgressionState());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue