Пример #1
0
 private TICKRESULT _Loot(Guid target)
 {
     if (_NormalSkill != null)
     {
         _NormalSkill.Explore(target);
         _ActorMind.Loot(target);
         return(TICKRESULT.SUCCESS);
     }
     return(TICKRESULT.FAILURE);
 }
Пример #2
0
    public void Explore()
    {
        var entity = _FindEntity();

        if (entity != null)
        {
            var id = entity.GetExploreTarget();
            if (id != Guid.Empty)
            {
                _SkillController.Explore(id);
            }
        }
    }