Example #1
0
        public void IniGame(ApolloSettings settings, FightStyle fightStyle = FightStyle.Balanced)
        {
            //Logger.Debug("Set game beginning = true");
            GameStateHandling.GameBeginning = true;
            Settings = settings;

            PlayerCharacterHandling.Reset();
            EnemyCharacterPositionHandling.SetPositions();

            Logger.Debug("IniGame");
            //EnemyHandling.CreateEnemies();
        }
Example #2
0
		public bool IsAllowed(FightStyle flag)
		{
			return ((m_Mobile.FightStyle & flag) == flag);
		}
Example #3
0
        public static void SetPlayerFightStyleForPlayer(BasePlayer player, BasePlayer styleplayer, FightStyle style)
        {
            if (player == null)
            {
                throw new ArgumentNullException(nameof(player));
            }

            if (styleplayer == null)
            {
                throw new ArgumentNullException(nameof(styleplayer));
            }

            Internal.SetPlayerFightStyleForPlayer(player.Id, styleplayer.Id, (int)style);
        }