C#/수업과제

디아블로 아이템 출력 하기

버스창문 2022. 6. 9. 18:16

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
            //아이템 이름 // VEIL OF STEEL
            string itemName = "VEIL OF STEEL";
            //등급 // Magic
            string itemGrade = "Magic";
            //카테고리 // Helm
            string category = "Helm";
            //최소 방어력 // 21
            int minArmor = 21;
            //최대 방어력 // 24
            int maxArmor = 24;
            //착용 부위 // Head
            string part = "Head";
            //랜덤 속성 개수 // 3
            int randomPropertiesAmount = 3;
            Console.WriteLine(itemName);
            Console.WriteLine(itemGrade);
            Console.WriteLine(category);
            Console.WriteLine("{0} - {1}" , minArmor,maxArmor);
            Console.WriteLine(part);
            Console.WriteLine("+{0} Random Magic Properties" , randomPropertiesAmount);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
            //아이템 이름 // CROWN OF THE PRIMUS
            string itemName = "CROWN OF THE PRIMUS";
            //등급 // Legendary
            string itemGrade = "Legendary";
            //카테고리 // Wizard Hat
            string category = "Wizard Hat";
            //최소 방어력 // 30
            int minArmor = 30;
            //최대 방어력 // 35
            int maxArmor = 35;
            //착용 부위 // Head
            string part = "Head";
            //소캣 개수 // 1
            int Sockets = 1;
            //추가옵션 // STR , DEX , INT 중 하나
            string additional1 = "INT";
            string additional2 = "STR";
            string additional3 = "DEX";
            //최소 옵션 수치 // 30
            int minAdd = 626;
            //최대 옵션 수치 // 35
            int maxAdd = 750;
            //랜덤 속성 개수 // 3
            int randomPropertiesAmount = 3;
            Console.WriteLine(itemName);
            Console.WriteLine(itemGrade);
            Console.WriteLine(category);
            Console.WriteLine("{0} - {1}" , minArmor,maxArmor);
            Console.WriteLine(part);
            Console.WriteLine(Sockets);
            Console.WriteLine("{0} {1} - {2}", additional1, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional2, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional3, minAdd, maxAdd);
            Console.WriteLine("+{0} Random Magic Properties" , randomPropertiesAmount);
        }//끝 블록 // : 주석
    }
}

 


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
            //아이템 이름 // ENVIOUS BLADE
            string itemName = "ENVIOUS BLADE";
            //등급 // Legendary
            string itemGrade = "Legendary";
            //카테고리 // Dagger
            string category = "Dagger";
            // DPS // 20.2
            float DPS = 20.2f;
            //최소 공격력 // 30
            int minAtt = 7;
            //최대 공격력 // 35
            int maxAtt = 20;
            //APS // 1.50
            float APS = 1.50f;
            //독데미지 // +[858 - 1049]-[1028 - 1304] 
            int minminPoison = 858;
            int minmaxPoison = 1049;
            int maxminPoison = 1028;
            int maxmaxPoison = 1304;
            //착용 부위 // 1-Hand
            string part = "1-Hand";
            //추가옵션 // STR , DEX , INT 중 하나
            string additional1 = "INT";
            string additional2 = "STR";
            string additional3 = "DEX";
            //최소 옵션 수치 // 30
            int minAdd = 626;
            //최대 옵션 수치 // 35
            int maxAdd = 750;
            //랜덤 속성 개수 // 3
            int randomPropertiesAmount = 3;
            Console.WriteLine(itemName);
            Console.WriteLine(itemGrade);
            Console.WriteLine(category);
            Console.WriteLine("{0:0.0}",DPS);
            Console.WriteLine("{0} - {1}" , minAtt,maxAtt);
            Console.WriteLine("{0:0.00}", APS);
            Console.WriteLine("[{0} - {1}] [{2} - {3}]poison Damage",minminPoison, minmaxPoison, maxminPoison, maxmaxPoison);
            Console.WriteLine(part);
            Console.WriteLine("{0} {1} - {2}", additional1, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional2, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional3, minAdd, maxAdd);
            Console.WriteLine("+{0} Random Magic Properties" , randomPropertiesAmount);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
            //아이템 이름 // MYSTERY SHOULDERS
            string itemName = "MYSTERY SHOULDERS";
            //카테고리 //  Shoulders
            string category = "Shoulders";
            //착용 부위 // Shoulders
            string part = "Shoulders";
            //종류 // Armor
            string type = "Armor";
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine(part);
            Console.WriteLine(type);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // THE MIND'S EYE
            string itemName = "THE MIND'S EYE";
            //등급 // Legendary
            string itemGrade = "Legendary";
            //카테고리 // Spirit Stone
            string category = "Spirit Stone";
            //최소 방어력 // 126
            int minArmor = 126;
            //최대 방어력 // 149
            int maxArmor = 149;
            //착용 부위 // Head
            string part = "Head";
            // 소켓 개수 // 1
            int sockets = 1;
            // Inner Sanctuary increases Spirit Regeneration per second by // 14
            int ISSRPS = 14;
            //추가옵션 // STR , DEX , INT 중 하나
            string additional1 = "INT";
            string additional2 = "STR";
            string additional3 = "DEX";
            //최소 옵션 수치 // 30
            int minAdd = 626;
            //최대 옵션 수치 // 35
            int maxAdd = 750;
            //랜덤 속성 개수 // 3
            int randomPropertiesAmount = 3;
            Console.WriteLine(itemName);
            Console.WriteLine(itemGrade);
            Console.WriteLine(category);
            Console.WriteLine("{0} - {1}", minArmor, maxArmor);
            Console.WriteLine(part);
            Console.WriteLine(sockets);
            Console.WriteLine("Inner Sanctuary increases Spirit Regeneration per second by {0}", ISSRPS);
            Console.WriteLine("{0} {1} - {2}", additional1, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional2, minAdd, maxAdd);
            Console.WriteLine("{0} {1} - {2}", additional3, minAdd, maxAdd);
            Console.WriteLine("+{0} Random Magic Properties", randomPropertiesAmount);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // BOTTLED CLOUD
            string itemName = "BOTTLED CLOUD";
            //카테고리 // Dye
            string category = "Dye";
            //최대 소지량 // 100;
            int maxStack = 100;
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine("Maximum Stack Amount: {0}", maxStack);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // HEALTH POTION
            string itemName = "HEALTH POTION";
            //카테고리 // Potion
            string category = "Potion";
            //최대 소지량 // 5000;
            int maxStack = 5000;
            //회복량 // 60%
            int Heal = 60;
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine("Maximum Stack Amount: {0}", maxStack);
            Console.WriteLine("Heal : {0}%", Heal);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // WHISPER OF ATONEMENT
            string itemName = "WHISPER OF ATONEMENT";
            //카테고리 // Gem
            string category = "Gem";
            //등급 // Legendary
            string grade = "Legendary";
            // 효과 // Utilized for augmenting Ancient Legendary items only.
            string utillity = "Utilized for augmenting Ancient Legendary items only.";
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine(utillity);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // REUSABLE PARTS
            string itemName = "REUSABLE PARTS";
            //카테고리 // Crafting Material
            string category = "Crafting Material";
            //최대 소지량 // 2000000000
            int maxAmount = 2000000000;
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine("Maximum Stack Amount : {0}", maxAmount);
        }//끝 블록 // : 주석
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Study01
{
    internal class Program
    {
        static void Main(string[] args)
        {//시작 불록 {            
         //아이템 이름 // JOURNEYMAN HOLY TOME
            string itemName = "JOURNEYMAN HOLY TOME";
            //카테고리 // Templar Relic
            string category = "Templar Relic";
            //등급 // Rare
            string itemGrade = "Rare";
            //랜덤 속성 개수 // 4
            int randomPropertiesAmount = 4;
            Console.WriteLine(itemName);
            Console.WriteLine(category);
            Console.WriteLine(itemGrade);
            Console.WriteLine("+{0} Random Magic Properties", randomPropertiesAmount);
        }//끝 블록 // : 주석
    }
}

'C# > 수업과제' 카테고리의 다른 글

0705  (0) 2022.07.05
0701 c# 프로그래밍 과제 / 알고리즘 과제  (0) 2022.07.01
0617 영웅 인벤토리 만들기  (0) 2022.06.18
반복문 과제  (0) 2022.06.10