32 lines
884 B
C#
32 lines
884 B
C#
using Terraria.ID;
|
|
|
|
namespace TerrariaHealingPlugin.Mappings
|
|
{
|
|
public class EquipMappings : IMappings
|
|
{
|
|
public Dictionary<int, short> mappings => new()
|
|
{
|
|
// FIXME: NOT AT ALL COMPLETED
|
|
|
|
// choosen designated equipment pieces go here that get a healing boost as an incentive
|
|
// ItemID | Healing Amount
|
|
{ ItemID.FleshKnuckles, 20 },
|
|
{ ItemID.PaladinsShield, 20 },
|
|
{ ItemID.MedicatedBandage, 20 },
|
|
{ ItemID.LifeforcePotion, 80 },
|
|
{ ItemID.WormScarf, 10 },
|
|
{ ItemID.CelestialShell, 10 },
|
|
{ ItemID.CelestialCuffs, 10 },
|
|
};
|
|
|
|
public double GetHealingMultiplier(int itemType)
|
|
{
|
|
return itemType switch
|
|
{
|
|
// nothing here, yet ;)
|
|
_ => 1,
|
|
};
|
|
}
|
|
}
|
|
}
|