24 lines
663 B
C#
24 lines
663 B
C#
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Buffs.Alcohol
|
|
{
|
|
public class Trippy : ModBuff
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
DisplayName.SetDefault("Trippy");
|
|
Description.SetDefault("You see the world for what it truly is... and you also have a 50% increase to all damage");
|
|
Main.debuff[Type] = false;
|
|
Main.pvpBuff[Type] = true;
|
|
Main.buffNoSave[Type] = false;
|
|
longerExpertDebuff = false;
|
|
}
|
|
|
|
public override void Update(Player player, ref int buffIndex)
|
|
{
|
|
player.Calamity().trippy = true;
|
|
}
|
|
}
|
|
}
|