ModernUO/Projects/UOContent/Items/Minor Artifacts/WrathOfTheDryad.cs
Kamron Batman e47b62c0ae
fix: Fixes serious stacking issue (#1225)
* Fixes a major bug where players can stack items into their backpack infinitely even if they get a message saying they can't.
* Fixes other minor issues and cleans up code.
2022-11-02 22:18:44 -07:00

34 lines
988 B
C#

using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class WrathOfTheDryad : GnarledStaff
{
public override WeaponAbility PrimaryAbility => WeaponAbility.ConcussionBlow;
public override WeaponAbility SecondaryAbility => WeaponAbility.ParalyzingBlow;
[Constructible]
public WrathOfTheDryad()
{
Hue = 0x29C;
WeaponAttributes.HitLeechMana = 50;
WeaponAttributes.HitLightning = 33;
Attributes.AttackChance = 15;
Attributes.WeaponDamage = 40;
}
public override int LabelNumber => 1070853; // Wrath of the Dryad
public override int InitMinHits => 255;
public override int InitMaxHits => 255;
public override void GetDamageTypes(
Mobile wielder, out int phys, out int fire, out int cold, out int pois,
out int nrgy, out int chaos, out int direct
)
{
pois = 100;
cold = fire = phys = nrgy = chaos = direct = 0;
}
}