Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
IceModifier.cs
Go to the documentation of this file.
1 using Loot.Api.Graphics.Shader;
3 using Loot.Modifiers.Base;
4 using Microsoft.Xna.Framework;
5 using Terraria;
6 using Terraria.Graphics.Shaders;
7 using Terraria.ID;
8 
9 namespace Loot.Modifiers.WeaponModifiers.Ice
10 {
11  public abstract class IceModifier : WeaponModifier
12  {
13  public override ShaderEntity GetShaderEntity(Item item)
14  {
15  return new ShaderEntity(item,
16  GameShaders.Armor.GetShaderIdFromItemId(ItemID.StardustDye),
17  Color.LightSkyBlue,
21  .SkipDrawingSubject(true)
22  .Build()
23  );
24  }
25  }
26 }
static new ShaderGraphicsPropertiesBuilder Builder
Defines the GraphicsProperties for ShaderEntitys which derives from GlowmaskGraphicsProperties ...
Defines a Shader entity, part of GraphicsEntity<T> The entity defines a particular &#39;shader&#39; "of" the ...
Definition: ShaderEntity.cs:16
override ShaderEntity GetShaderEntity(Item item)
Definition: IceModifier.cs:13
ShaderGraphicsPropertiesBuilder WithDrawLayer(ShaderDrawLayer drawLayer)
Defines a modifier that can roll on a weapon item You can use this class and add to CanRoll by callin...
ShaderGraphicsPropertiesBuilder WithShaderDrawStyle(ShaderDrawStyle shaderDrawStyle)