public KeepCreature(Creature_spawn spawn, KeepNpcCreature flagGrd, Keep keep) : base(spawn)
            {
                _keep      = keep;
                _flagGrd   = flagGrd;
                IsKeepLord = flagGrd.Info.KeepLord;

                EvtInterface.AddEventNotify(EventName.OnReceiveDamage, OnReceiveDamage);
            }
Пример #2
0
        public KeepCreature(Creature_spawn spawn, KeepNpcCreature flagGuard, BattleFrontKeep keep) : base(spawn)
        {
            _keep       = keep;
            FlagGuard   = flagGuard;
            IsKeepLord  = flagGuard.Info.KeepLord;
            IsPatrol    = flagGuard.Info.IsPatrol;
            DefenceRank = 3;

            EvtInterface.AddEventNotify(EventName.OnReceiveDamage, OnReceiveDamage);
        }