public override void Unload()
 {
     am          = null;
     mutationBar = null;
     geneUI      = null;
     skillsList  = null;
     skill1      = null;
     skill2      = null;
     skill3      = null;
     skill4      = null;
     skill5      = null;
     skill6      = null;
     skill7      = null;
     skill8      = null;
 }
        public override void ModifyHitByProjectile(NPC npc, Projectile projectile, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
        {
            double dmgFactor = AttributeManager.GetDamageMultiplier(AttributeManager.projAttributes[projectile.type],
                                                                    AttributeManager.npcAttributes[npc.type]);

            damage = (int)(damage * dmgFactor);
            if (dmgFactor == AttributeManager.weakpointFactor)
            {
                if (Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimer == 0)
                {
                    CombatText.NewText(new Rectangle(npc.Hitbox.X, npc.Hitbox.Y - 20, npc.Hitbox.Width, npc.Hitbox.Height), Color.Red, "Weakpoint!", true);
                    Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimer = Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimerMax;
                }
            }
            else if (dmgFactor == AttributeManager.strongpointFactor)
            {
                if (Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimer == 0)
                {
                    CombatText.NewText(new Rectangle(npc.Hitbox.X, npc.Hitbox.Y - 20, npc.Hitbox.Width, npc.Hitbox.Height), Color.Gray, "Strongpoint!", true);
                    Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimer = Main.LocalPlayer.GetModPlayer <ChaosRings3Player>().hitWeakpointDispTimerMax;
                }
            }
        }
        public override void ModifyHitPlayer(NPC npc, Player target, ref int damage, ref bool crit)
        {
            ChaosRings3Player modPlayer = target.GetModPlayer <ChaosRings3Player>();
            double            dmgFactor = AttributeManager.GetDamageMultiplier(AttributeManager.npcAttributes[npc.type],
                                                                               modPlayer.attr);

            damage = (int)(damage * dmgFactor);
            if (dmgFactor == AttributeManager.weakpointFactor)
            {
                if (modPlayer.playerWeakDispTimer == 0)
                {
                    CombatText.NewText(new Rectangle(target.Hitbox.X, target.Hitbox.Y - 20, target.Hitbox.Width, target.Hitbox.Height), Color.Red, "Weakpoint!", true);
                    modPlayer.playerWeakDispTimer = modPlayer.playerWeakDispTimerMax;
                }
            }
            else if (dmgFactor == AttributeManager.strongpointFactor)
            {
                if (modPlayer.playerWeakDispTimer == 0)
                {
                    CombatText.NewText(new Rectangle(target.Hitbox.X, target.Hitbox.Y - 20, target.Hitbox.Width, target.Hitbox.Height), Color.Gray, "Strongpoint!", true);
                    modPlayer.playerWeakDispTimer = modPlayer.playerWeakDispTimerMax;
                }
            }
        }