예제 #1
0
        public void Start()
        {
            Dungeonator.RoomHandler room        = GameManager.Instance.PrimaryPlayer.CurrentRoom;
            List <AIActor>          roomEnemies = room.GetActiveEnemies(Dungeonator.RoomHandler.ActiveEnemyType.All);

            foreach (AIActor enemy in roomEnemies)
            {
                if (enemy && enemy.healthHaver && enemy.healthHaver.IsBoss)
                {
                    enemy.healthHaver.SetHealthMaximum(enemy.healthHaver.GetMaxHealth() * healthMultiplier, null, true);
                }
            }
        }