Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
using System;
using Server.Items;
namespace Server.Targeting
{
public class WandTarget : Target
{
private readonly BaseWand m_Item;
public WandTarget(BaseWand item)
: base(6, false, TargetFlags.None)
{
this.m_Item = item;
}
protected override void OnTarget(Mobile from, object targeted)
{
this.m_Item.DoWandTarget(from, targeted);
}
private static int GetOffset(Mobile caster)
{
return 5 + (int)(caster.Skills[SkillName.Magery].Value * 0.02);
}
}
}