EasyCastleUNITY

디아블로 무기 Longsword 본문

C#프로그래밍

디아블로 무기 Longsword

EasyCastleT 2023. 7. 19. 16:18

using System;
using System.Data.SqlTypes;

namespace HelloWorld
{ 
    internal class Program
    {
        static void Main(string[] args)
        {
            string weaponName = "Longsword";
            string weaponType = "Magic Sword";
            float damage = 17.5f;
            int minDamage =8;
            int maxDamage =17;
            float attackSpeed = 1.40f;
            int rndMP = 2;
            string Crafter = "Blacksmith";
            int level = 1;
            Console.WriteLine(weaponName);
            Console.WriteLine(weaponType+"\n");
            Console.WriteLine("{0}",damage);
            Console.WriteLine("Damage Per Second\n");
            Console.WriteLine("{0}-{1} Damage", minDamage,maxDamage);
            Console.WriteLine("{0} Attacks per Second\n", attackSpeed);
            Console.WriteLine("+{0} Random Magic Properties",rndMP);
            Console.WriteLine("Crafted By:{0}(Level{1})", Crafter, level);
        }
    }
}