1 - Endurance Potion increases DR by 5% instead of 10% because it's a Potion and shouldn't be that strong.
This commit is contained in:
1 parent
1ced3298f7
commit
151d436686
2 files changed
+13
-1
No files matched your search
@@ -11,7 +11,11 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void Update(int type, Player player, ref int buffIndex)
|
||||
{
|
||||
if (type == BuffID.MagicPower)
|
||||
if (type == BuffID.Endurance)
|
||||
{
|
||||
player.endurance -= 0.05f;
|
||||
}
|
||||
else if (type == BuffID.MagicPower)
|
||||
{
|
||||
player.magicDamage -= 0.1f;
|
||||
}
|
||||
@@ -92,6 +96,10 @@ namespace CalamityMod.Buffs
|
||||
// Vanilla buffs
|
||||
switch (type)
|
||||
{
|
||||
case BuffID.Endurance:
|
||||
tip = "5% reduced damage";
|
||||
break;
|
||||
|
||||
case BuffID.MagicPower:
|
||||
tip = "10% increased magic damage";
|
||||
break;
|
||||
|
||||
@@ -328,6 +328,10 @@ namespace CalamityMod.Items
|
||||
if (item.type == ItemID.SwiftnessPotion)
|
||||
EditTooltipByNum(0, (line) => line.text = "15% increased movement speed");
|
||||
|
||||
// Nerfed Endurance Potion tooltip
|
||||
if (item.type == ItemID.EndurancePotion)
|
||||
EditTooltipByNum(0, (line) => line.text = "Reduces damage taken by 5%");
|
||||
|
||||
// Hand Warmer provides Death Mode cold protection and has a side bonus with Eskimo armor
|
||||
if (item.type == ItemID.HandWarmer)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user