Esempio n. 1
0
        public bool Attack(Creature creature)
        {
            if(kernel.WorldProtocol != null)
            {
                CancelMove();
                kernel.WorldProtocol.SendAttackCreature(creature.GetId());
                kernel.Client.Memory.WriteUInt32(Addresses.Player.TargetID, creature.GetId());
                return true;
            }

            return true;
        }
Esempio n. 2
0
 public bool Equals(Creature creature)
 {
     return creature.GetId().Equals(GetId());
 }