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:
parent
ca3df9cfa7
commit
c8463e2eaf
33 changed files with 104 additions and 79 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue