hotkey and reaver tank fixes
This commit is contained in:
1 parent
2df8a36e43
commit
4962f788f3
2 files changed
+8
No files matched your search
@@ -2499,6 +2499,10 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
public override void ProcessTriggers(TriggersSet triggersSet)
|
||||
{
|
||||
// Why does this otherwise work when you're dead lmao
|
||||
if (Player.dead)
|
||||
return;
|
||||
|
||||
if (CalamityKeybinds.NormalityRelocatorHotKey.JustPressed && normalityRelocator && Main.myPlayer == Player.whoAmI)
|
||||
{
|
||||
if (!Player.CCed && !Player.chaosState)
|
||||
|
||||
@@ -2590,6 +2590,10 @@ namespace CalamityMod.CalPlayer
|
||||
flightTimeMult += 0.1;
|
||||
}
|
||||
|
||||
// Reaver Tank set nuke flight time
|
||||
if (reaverDefense)
|
||||
flightTimeMult -= 0.2f;
|
||||
|
||||
// Increase wing time
|
||||
if (Player.wingTimeMax > 0)
|
||||
Player.wingTimeMax = (int)(Player.wingTimeMax * flightTimeMult);
|
||||
|
||||
Reference in new issue
Block a user