コード例 #1
0
 //Story specific generators
 private void GenerateCorePlanet()
 {
     if (Tools.GenerateRand() > 50)
     {
         MapArea area = new MapArea("Cored Planet", MapType.Dungeon, 2001);
         area.SetIsGuarded(85);
         getLevel(nextMiniBoss - 2).AddArea(area);
         Debug.Log("Added Core Planet to " + (nextMiniBoss - 2));
     }
 }