fix: Fixes lightning arrow (#1583)

### Summary
- [X] Lightning arrow no longer allows SDI
- [X] Lightning arrow now proc's even without arrows
- [X] Fixed NPE with lightning arrow when a monster is already killed.
This commit is contained in:
Kamron Batman 2023-11-05 17:36:09 -08:00 • committed by GitHub
parent ca3df9cfa7
commit c8463e2eaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 104 additions and 79 deletions

View file

@ -13,7 +13,7 @@ namespace Server.Items
public override int BaseMana => 30;
public override bool RequiresSecondarySkill(Mobile from) => true;
public override void OnHit(Mobile attacker, Mobile defender, int damage)
public override void OnHit(Mobile attacker, Mobile defender, int damage, WorldLocation worldLocation)
{
if (!Validate(attacker) || !CheckMana(attacker, true))
{