fix: Weapons cleanup (#857)
* Removes linq * Removes list allocation for area effect * Removes redundant swing overload * Cleans up code
This commit is contained in:
parent
09613e2536
commit
43db0d09c9
4 changed files with 173 additions and 215 deletions
|
|
@ -37,7 +37,7 @@ namespace Server.Items
|
|||
|
||||
public override SkillName AccuracySkill => SkillName.Archery;
|
||||
|
||||
public override TimeSpan OnSwing(Mobile attacker, Mobile defender)
|
||||
public override TimeSpan OnSwing(Mobile attacker, Mobile defender, double damageBonus = 1.0)
|
||||
{
|
||||
// WeaponAbility a = WeaponAbility.GetCurrentAbility( attacker );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue