Exemplo n.º 1
0
        public override bool UseItem(Item item, Player player)
        {
            if (item.healLife > 0 && player.GetModPlayer <OlympiumPlayer>().eleutherios)
            {
                int healLife = item.healLife;
                PlayerHooks.GetHealLife(player, item, false, ref healLife);

                player.AddBuff(ModContent.BuffType <EleutheriosBuff>(), (int)(healLife / 5f) * 60);
            }
            return(false);
        }