fix: Weapons cleanup (#857)

* Removes linq
* Removes list allocation for area effect
* Removes redundant swing overload
* Cleans up code
This commit is contained in:
Kamron Batman 2021-11-21 09:19:09 -08:00 • committed by GitHub
parent 09613e2536
commit 43db0d09c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 173 additions and 215 deletions

View file

@ -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 );