feat: Adds magical barrier and ebolt counter ability (#1182)
* Adds magical barrier ability (Pre-UOML) * Adds ebolt counter (Post-UOML)
This commit is contained in:
parent
1cf5d59116
commit
3c636b04fd
25 changed files with 509 additions and 449 deletions
|
|
@ -247,7 +247,7 @@ namespace Server.Items
|
|||
|
||||
public static bool IsMageryCreature(BaseCreature bc) => bc?.AI == AIType.AI_Mage && bc.Skills.Magery.Base > 5.0;
|
||||
|
||||
public static bool IsFireBreathingCreature(BaseCreature bc) => bc?.HasAbility(MonsterAbilityType.FireBreath) == true;
|
||||
public static bool IsFireBreathingCreature(BaseCreature bc) => bc?.GetAbility(MonsterAbilityType.FireBreath) != null;
|
||||
|
||||
public static bool IsPoisonImmune(BaseCreature bc) => bc?.PoisonImmune != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue