Decimation_Mod/Content/Synergies/GraniteAmuletSynergy.cs
FyloZ ec4585bed5 - Changed Bloodshot Eye's music to Boss 1 Orchestra ( https://www.youtube.com/watch?time_continue=120&v=r-9nKGc85FQ )
- Added support for animated projectiles
- Refactoring
- Removed useless fields
- Fixed swords not dealing damages
- Added Hour Hand (from Evie's PR)
2020-03-21 00:11:07 -04:00

20 lines
553 B
C#

using Decimation.Lib;
using Decimation.Lib.Amulets.Synergy;
using Microsoft.Xna.Framework;
using Terraria;
namespace Decimation.Content.Synergies
{
internal class GraniteAmuletSynergy : AmuletSynergyAdapter
{
public override void OnHitPlayer(DecimationModPlayer modPlayer, ref int damages)
{
if (modPlayer.HasShield && Main.rand.NextBool(10))
{
damages = 0;
CombatText.NewText(modPlayer.player.getRect(), Color.MediumPurple, "Blocked");
}
}
}
}