public Monster() { Sword = new Weapon(); MaxHP = 30; DMG = 5; EXPDropped = 5; CurrentHP = MaxHP; ItemDrop = false; }
public RPG_Player() { MaxHP = 100; DMG = 5; MoveSpeed = 25; AtkSpd = 10; Level = 1; MagDMG = 5; CurrentHP = 100; MaxMana = 10; MaxEXPNeeded = 5; playerWeapon = new Weapon(); enemy = new Monster(); EXP = 0; }
static void Main(string[] args) { bool fightBool = true; RPG_Player player = new RPG_Player(); Weapon blade = new Weapon(); Story story = new Story(); Battle randomBattle = new Battle(player); story.Intro(); Console.ReadLine(); story.BeginGame(); Console.ReadLine(); story.FirstEnemy(randomBattle); Console.ReadLine(); story.Chapter1Part1(); Console.ReadLine(); story.FirstEnemy(randomBattle); Console.ReadLine(); story.FirstEnemy(randomBattle); Console.ReadLine(); story.Chapter1Part2(); Console.ReadLine(); while (fightBool == true) { story.FirstEnemy(randomBattle); if (randomBattle.playeralive == false) { fightBool = false; } else fightBool = true; } Console.ReadLine(); story.Chapter1Part3(); while (fightBool == true) { story.FirstEnemy(randomBattle); } }