feat: Adds SpecialAttack monster ability trigger. Fixes fanning fire. (#2186)
This commit is contained in:
parent
91b2912ee4
commit
e468f79e18
5 changed files with 89 additions and 119 deletions
|
|
@ -70,6 +70,11 @@ namespace Server.Items
|
|||
attacker.DisruptiveAction();
|
||||
attacker.NetState.SendSwing(attacker.Serial, defender.Serial);
|
||||
|
||||
if (attacker is BaseCreature bc && bc.TriggerAbility(MonsterAbilityTrigger.CombatAction, defender))
|
||||
{
|
||||
return GetDelay(attacker);
|
||||
}
|
||||
|
||||
if (OnFired(attacker, defender))
|
||||
{
|
||||
if (CheckHit(attacker, defender))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue