Esempio n. 1
0
 /// <summary>
 /// Checks whether this NPC is of the given type
 /// </summary>
 public bool CheckCreatureType(CreatureMask mask)
 {
     return mask.HasFlag((CreatureMask)(1 << ((int)Entry.Type - 1)));
 }
Esempio n. 2
0
 public CritCreatureMaskHandler(CreatureMask mask)
 {
     Mask = mask;
 }
 public CritCreatureMaskHandler(CreatureMask mask)
 {
     Mask = mask;
 }
Esempio n. 4
0
 /// <summary>
 ///   Checks whether this NPC is of the given type
 /// </summary>
 public bool CheckCreatureType(CreatureMask mask)
 {
     return(mask.HasFlag((CreatureMask)(1 << ((int)Entry.Type - 1))));
 }