Ejemplo n.º 1
0
 public ArmourTemplate() : base(ItemIds.WoodenStick, "ArmourTemplate")
 {
     desc = "template for items, desc itself is where you say what the item does. This item happens to do nothing.";
     StatMods.Add(AssingStatmod.Create(2, TypeName, ModTypes.Flat, StatTypes.Charm));
     HealthMods.Add(new HealthMod(2, ModTypes.Flat, TypeName, HealthTypes.Health));
     Slots.Add(EquipSlot.LeftHand);
 }
Ejemplo n.º 2
0
 public Hood() : base(ItemIds.Hood, "Hood")
 {
     desc = "template for items, desc itself is where you say what the item does. This item happens to do nothing.";
     StatMods.Add(AssingStatmod.Create(-1, TypeName, ModTypes.Flat, StatTypes.Charm));
     StatMods.Add(AssingStatmod.Create(1, TypeName, ModTypes.Flat, StatTypes.End));
     HealthMods.Add(new HealthMod(5, ModTypes.Flat, TypeName, HealthTypes.Health));
     HealthMods.Add(new HealthMod(5, ModTypes.Flat, TypeName, HealthTypes.WillPower));
     Slots.Add(EquipSlot.Head);
 }