fix: Draugh Ashlands meats, rebindable flight keys, Geisli on gamepad
Draugh: add AsksvinMeat and BoneMawSerpentMeat to the shared raw-to-cooked table; the Aswid blood refinery no longer adds them on its own copy. DirectedFlight (drake, bat): read ZInput Forward/Backward/Run instead of raw W, S and Shift, so keys rebound in the settings work. Geisli: the pad has no free button in vanilla's Classic layout, so the beam is held on the pad's secondary attack, bare-handed or in the Archon form, as Skadi's Cold Spell does. The unarmed kick is swallowed while it fires. RaceInput.EmptyHanded is shared with Skadi. Compendium text mentions the pad in English, Italian and Russian.
This commit is contained in:
parent
b9ec452e72
commit
db9aac2bf6
9 changed files with 55 additions and 18 deletions
|
|
@ -465,13 +465,7 @@ namespace RacesOfValheim
|
|||
/// mode and with nothing in either hand. Shared with SkadiAttackPatch, which swallows the
|
||||
/// unarmed kick under exactly the same condition.
|
||||
/// </summary>
|
||||
public static bool PadCastsColdSpell(Player player)
|
||||
{
|
||||
if (player == null || player.InPlaceMode()) return false;
|
||||
var hands = HarmonyLib.Traverse.Create(player);
|
||||
return hands.Field<ItemDrop.ItemData>("m_rightItem").Value == null &&
|
||||
hands.Field<ItemDrop.ItemData>("m_leftItem").Value == null;
|
||||
}
|
||||
public static bool PadCastsColdSpell(Player player) => RaceInput.EmptyHanded(player);
|
||||
|
||||
private IEnumerator ColdSpellKickCoroutine(SkadiProgression.FormRules rules)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue