1 - Archery Potion arrow damage bonus is nerfed directly in UpdateBuffs instead of ModifyWeaponDamage.

This commit is contained in:
mountaindrew10 committed 2022-05-16 12:07:50 -05:00
1 parent c7c2eaeb22
commit f96da8cf3f
3 files changed
+7 -9

No files matched your search

+6 -4
View File
@@ -10,7 +10,11 @@ namespace CalamityMod.Buffs
{
public override void Update(int type, Player player, ref int buffIndex)
{
if (type == BuffID.Endurance)
if (type == BuffID.Archery)
{
player.arrowDamage *= 0.875f;
}
else if (type == BuffID.Endurance)
{
player.endurance -= 0.05f;
}
@@ -94,8 +98,6 @@ namespace CalamityMod.Buffs
public override void ModifyBuffTip(int type, ref string tip, ref int rare)
{
Player player = Main.player[Main.myPlayer];
// Vanilla buffs
switch (type)
{
@@ -108,7 +110,7 @@ namespace CalamityMod.Buffs
break;
case BuffID.Archery:
tip = "20% increased arrow speed and 1.05x arrow damage";
tip = "20% increased arrow speed and 5% increased arrow damage";
break;
case BuffID.Swiftness:
-4
View File
@@ -886,10 +886,6 @@ namespace CalamityMod.Items
if (player.yoyoGlove && ItemID.Sets.Yoyo[item.type])
damage *= 0.66f;
// Nerf archery potion damage buff from 1.2x to 1.05x.
if (item.useAmmo == AmmoID.Arrow && player.archery)
damage *= 0.875f;
if (item.type < ItemID.Count)
return;
+1 -1
View File
@@ -291,7 +291,7 @@ namespace CalamityMod.Items
// Nerfed Archery Potion tooltip
if (item.type == ItemID.ArcheryPotion)
EditTooltipByNum(0, (line) => line.Text = "20% increased arrow speed and 1.05x arrow damage");
EditTooltipByNum(0, (line) => line.Text = "20% increased arrow speed and 5% increased arrow damage");
// Nerfed Swiftness Potion tooltip
if (item.type == ItemID.SwiftnessPotion)