fixed right click autouse being in the wrong spot
This commit is contained in:
1 parent
31d3a848a7
commit
0bd4a99666
1 file changed
+5
-1
@@ -18,6 +18,11 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public static readonly SoundStyle ExplosionSound = new("CalamityMod/Sounds/Item/SupernovaBoom") { Volume = 0.9f };
|
||||
public static readonly SoundStyle StealthExplosionSound = new("CalamityMod/Sounds/Item/SupernovaStealthExplode") { Volume = 1f };
|
||||
public static readonly SoundStyle StealthChargeSound = new("CalamityMod/Sounds/Item/SupernovaStealthCharge") { Volume = 1f };
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true;
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 106;
|
||||
@@ -37,7 +42,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
Item.rare = ModContent.RarityType<BurnishedAuric>();
|
||||
Item.channel = true;
|
||||
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true;
|
||||
}
|
||||
|
||||
public override bool AltFunctionUse(Player player) => true;
|
||||
|
||||
Reference in new issue
Block a user