Touchups
This commit is contained in:
1 parent
beed4b2049
commit
f4b8d1db3d
4 files changed
+10
-2
No files matched your search
@@ -1110,6 +1110,7 @@ namespace CalamityMod.CalPlayer
|
||||
public int spectralVeilImmunity = 0;
|
||||
/// <summary> Check for if the player has Plagued Fuel Pack OR Blunder Booster equipped. </summary>
|
||||
public bool hasJetpack = false;
|
||||
public bool hasEngineDash = false;
|
||||
public bool plaguedFuelPack = false;
|
||||
public bool blunderBooster = false;
|
||||
public bool blunderBoosterVisibility = true;
|
||||
@@ -2639,6 +2640,7 @@ namespace CalamityMod.CalPlayer
|
||||
sandCloak = false;
|
||||
spectralVeil = false;
|
||||
hasJetpack = false;
|
||||
hasEngineDash = false;
|
||||
plaguedFuelPack = false;
|
||||
blunderBooster = false;
|
||||
blunderBoosterVisibility = true;
|
||||
|
||||
@@ -30,9 +30,12 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().hasEngineDash;
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.hasEngineDash = true;
|
||||
modPlayer.v8000Engine = true;
|
||||
modPlayer.DashID = V8000EngineDash.ID;
|
||||
player.dashType = 0;
|
||||
|
||||
@@ -28,9 +28,12 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().hasEngineDash;
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.hasEngineDash = true;
|
||||
modPlayer.v8Engine = true;
|
||||
modPlayer.DashID = V8EngineDash.ID;
|
||||
player.dashType = 0;
|
||||
|
||||
@@ -2014,14 +2014,14 @@ UnstableGraniteCore: {
|
||||
|
||||
V8Engine: {
|
||||
DisplayName: V8 Engine
|
||||
Tooltip: Grants a dash which can be used by both mounts and players alike
|
||||
Tooltip: Grants a short dash with a long cooldown that works while mounted
|
||||
}
|
||||
|
||||
V8000Engine: {
|
||||
DisplayName: V8000 Engine
|
||||
Tooltip:
|
||||
'''
|
||||
Grants a dash which can be used by both mounts and players alike
|
||||
Grants a dash with a long cooldown that works while mounted
|
||||
This dash can ram through enemies without taking damage
|
||||
'Are soul-powered engines eco-friendly?'
|
||||
'''
|
||||
|
||||
Reference in new issue
Block a user