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
|
|
@ -22,8 +22,7 @@ namespace Server
|
|||
{
|
||||
int MaxRange { get; }
|
||||
void OnBeforeSwing(Mobile attacker, Mobile defender);
|
||||
TimeSpan OnSwing(Mobile attacker, Mobile defender);
|
||||
TimeSpan OnSwing(Mobile attacker, Mobile defender, double damageBonus);
|
||||
TimeSpan OnSwing(Mobile attacker, Mobile defender, double damageBonus = 1.0);
|
||||
void GetStatusDamage(Mobile from, out int min, out int max);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue