it consumes stealth and does real damage now
This commit is contained in:
1 parent
079202ba6c
commit
fff226e0a6
2 files changed
+5
-5
No files matched your search
@@ -23,8 +23,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
|
||||
public static float stealthGainOnThrowHit => 0.25f; // Amount of stealth gained on a thrown hit based on max stealth
|
||||
public static float stealthCostToShoot => 0.1f; // Amount of stealth it costs to fire the gun with right click based on max stealth
|
||||
public static float stealthShotDamageMult => 1.75f;
|
||||
public static float elephantBoostedShotDamageMult => 1.5f; // This is multiplicative with the stealth shot damage boost
|
||||
public static float stealthShotDamageMult => 1.9f;
|
||||
public static float elephantBoostedShotDamageMult => 1.6f; // This is multiplicative with the stealth shot damage boost
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true;
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 58;
|
||||
Item.damage = 75;
|
||||
Item.damage = 110;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useAnimation = Item.useTime = 38;
|
||||
|
||||
@@ -218,12 +218,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
{
|
||||
if (mode == gunState.Stealth)
|
||||
{
|
||||
//Owner.Calamity().ConsumeStealthByAttacking();
|
||||
Owner.Calamity().ConsumeStealthByAttacking();
|
||||
recoilLifetime++;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Owner.Calamity().rogueStealth -= MathF.Round(stealthAmount, 2);
|
||||
Owner.Calamity().rogueStealth -= MathF.Round(stealthAmount, 2);
|
||||
}
|
||||
CheckStealth();
|
||||
FireShot(toMouse, true, ElephantKiller.stealthShotDamageMult, mode == gunState.Stealth);
|
||||
|
||||
Reference in new issue
Block a user