//龙的传人无存档游玩版版1.1.2(测试版1.4.5)
//代码有点长,谢谢。
//可嫩运行不了,不要介意...
#include <iostream>
#include <utility>
#include <thread>
#include <chrono>
#include <functional>
#include <atomic>
#include <string>
#include <windows.h>
#include <conio.h>
#include <fstream>
#include <ctime>
#include <map>
#include <climits>
#include <algorithm>
#include <stdio.h>
#include <vector>
#include <iomanip>
#include <cstring>
#define edition "1.1.2"
using namespace std;
int health = 1000, maxhealth = 1000, damage = 100, defense = 20, force = 100,
maxforce = 100, dodge = 10, hit = 10;
string myname, myEnglishname, IDEN, mymenpai = "你还未拜师或创建门派",
myshifu = "你还未拜师...";
string title = "普通百姓", title2 = "", task = "";
bool baishi, isrebound;
int reboundnum, titlecolor = 16, wudaotalevel = 1;
int nowroomi = 0, experience = 0, potential = 0, literate = 0, dienum = 0,
killnum = 0, buildlevel = 1;
int coin = 0, silver = 0, gold = 0, buildexp = 0;
int password;
bool gift[100];
bool ta[100];
void color(short x) {
if (x >= 0 && x <= 15) {
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), x);
} else {
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
}
}
struct sk {
string name;
string use;
string Englishname;
int damage;
int level;
string weapon;
int plushealth;
int plusforce;
int plusattack;
int plusdodge;
int plushit;
int attacknum;
int cooldown;
int forceneed;
bool isattack;
int timedamage;
};
struct th {
string name;
string Englishname;
string tell;
int coin;
};
struct we {
string name;
string Englishname;
string type;
string tell;
int coin;
int plusdamage;
int plushealth;
int plusforce;
int plusdefense;
int plusdodge;
int plushit;
int lv;
int inlaynum;
th inlaything[10];
};
struct bo {
string name;
string Englishname;
sk skill;
int literate_need;
string needskill[100];
int needlevel[100];
string tell;
int coin;
};
struct pe {
string name;
string Englishname;
string tell;
int health, maxhealth;
int damage;
int defense;
int dodge, hit;
int force, maxforce;
we weapon;
sk skills[100];
int skillsnum;
bo dropbook;
we dropweapon;
th dropthing;
bool canbai;
bool canmove;
};
struct ro {
string name;
string Englishname;
string tell;
pe people[100];
we weapon[100];
bo book[100];
th thing[100];
string dir[100];
int cango[100];
we weaponsell[100];
bo booksell[100];
th thingsell[100];
bool isshop;
};
map<string, string> GeneralAttack = {
{"刀","a挥起手中x一刀朝b砍来"},
{"剑","a提起手中x朝b刺来"},
{"拳","a一拳朝b挥来"},
{"鞭","a拿起手中x朝b抽来"},
{"棍","a抡起手中x冲b一扫"},
{"抓","a一手往b抓来"}
};
map<string, we> weap = {
{"sword",{"剑","sword","剑","这是一把普通的剑",100,100,0,0,0,-10,10,16,0,{}}},
{"longsword",{"长剑","longsword","剑","这是一把长剑",200,150,0,0,0,-5,15,16,0,{}}},
{"shortsword",{"短剑","shortsword","剑","这是一把短剑,虽然攻击力较低,但负重还可以",50,50,0,0,0,-2,5,16,0,{}}},
{"brokensword",{"断剑","brokensword","剑","这是一把已经坏了的剑,似乎经历了多年的磨砺",25,25,0,0,0,-1,10,16,0,{}}},
{"brokenblade",{"断刀","brokenblade","刀","这是一把已经坏了的刀,似乎经历了多年的磨砺",25,25,0,0,0,-1,10,16,0,{}}},
{"longblade",{"长刀","longblade","刀","这是一把长刀,可以远距离攻击",300,250,0,0,0,-10,15,16,0,{}}},
{"blade",{"钢刀","blade","刀","这是一把钢刀",2500,200,1,0,10,-10,5,16,0,{}}},
{"iron_sword",{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,2,0,{}}},
{"club",{"木棍","club","棍","普通的一根棍子,木头做的",700,100,0,0,0,-5,20,16,0,{}}},
{"qimeigun",{"齐眉棍","qimeigun","棍","竹子做的一根棍子,立起来恰好到眉毛",1000,150,0,0,0,-10,20,1,2,{}}},
{"ironclub",{"铁棍","ironclub","棍","铁制棍子,挥起来很有劲",1200,300,0,0,0,-20,20,2,0,{}}},
{"longclub",{"长棍","longclub","棍","一根很长的棍子,攻击范围很大",1300,300,0,0,0,-25,30,16,0,{}}},
{"whip",{"皮鞭","whip","鞭","这是一个普通的鞭子",1000,300,0,0,0,-5,20,16,0,{}}},
{"longwhip",{"长鞭","longwhip","鞭","这是一个长鞭",1100,300,0,0,0,-10,20,16,0,{}}},
{"heilong-bian",{"黑龙鞭","heilong-bian","鞭","这是黑龙史的鞭子",5000,1000,10,10,0,-10,30,1,2,{}}},
{"yunlong-bian",{"云龙鞭","yunlong-bian","鞭","这是云龙长老的鞭子",5000,1000,10,10,0,-10,30,1,2,{}}},
{"云龙剑",{}},
{"拂尘",{}},
{"将军剑",{}},
{"大砍刀",{}},
{"打狗棍",{}},
{"倚天剑",{}},
{"屠龙刀",{}},
{"武当长剑",{}},
{"太极剑",{}},
{"八卦剑",{}},
{"八卦刀",{}},
{"八荒刀",{}},
{"武士刀",{}},
{"武当长剑",{}},
{"黑龙鞭",{}},
{"云龙鞭",{}},
{"sword2",{"宝剑","sword","剑","这是一把宝剑",1000,100,10,10,1,-15,30,1}},
};
pe lvpeople[100] = {
{"张慧文","guard","他是武道塔1层的守卫者,你需要打败他,才能进入2层",1000,1000,100,10,1000,1000,0,0,{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,16},{},0,{},{},{},false},
{"张楚嫣","guard","她是武道塔2层的守卫者,你需要打败她,才能进入3层",2658,2658,158,27,2521,913,0,0,{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,16},{},0,{},{},{},false},
{"张晓彤","guard","她是武道塔3层的守卫者,你需要打败她,才能进入4层",3479,3479,227,38,3042,1013,1000,1000,{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,16},{{"「武当剑法」", "e一式「2三环套月s」,连续三招,手中q化作三道光朝你飞来", "wudang-sword", 454, 10, "剑", 2, 2, 2, 2, 2, 3, 3, 1, true, 2}},1,{},{},{},false},
{"张楚涵","guard","她是武道塔4层的守卫者,你需要打败她,才能进入5层",7332,7332,348,75,2328,3328,1000,1000,{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,16},{{"「武当剑法」", "e一式「2三环套月s」,连续三招,手中q化作三道光朝你飞来", "wudang-sword", 696, 20, "剑", 2, 2, 2, 2, 2, 3, 3, 1, true, 2}},1,{},{},{},false},
{"张鸿瑞","guard","他是武道塔5层的守卫者,你需要打败他,才能进入6层",3479,3479,227,38,3042,1013,1000,1000,{"精铁剑","iron_sword","剑","用精铁铸成的剑,很坚硬",100,100,0,0,0,-10,10,16},{{"「武当剑法」", "e一式「2三环套月s」,连续三招,手中q化作三道光朝你飞来", "wudang-sword", 454, 10, "剑", 2, 2, 2, 2, 2, 3, 3, 1, true, 2}},1,{},{},{},false},
};
sk ZhangSanfeng_skills[8] = {
{"「武当剑法」", "e一式「2三环套月s」,连续三招,手中q化作三道光朝你飞来", "wudang-sword", 100000, 1000, "剑", 2, 2, 2, 2, 2, 3, 3, 1, true, 2},
{"「太极剑」", "e虚步提腰,一招「6蜻蜓点水s」,手中q轻轻颤动,一剑剑点向你", "taiji-sword", 100000, 1000, "剑", 10, 10, 10, 10, 10, 3, 3, 1, true, 2},
{"「太极拳」", "e左手回收,右手由钩变掌,由右向左,使一招「6提手上式s」,向你打来", "taiji-fist", 100000, 1000, "拳", 1000, 500, 500, 100, 10, 5, 10, 1, true, 1},
{"「昊天掌」", "e使一招「5海上明月s」,左手轻轻一挥,劈向你", "haotian-fist", 10000, 1000, "拳", 2, 2, 2, 2, 2, 3, 3, 50, true, 3},
{"「空明拳」", "你凝神聚力,以极快的速度出拳\n\t4空明拳之意!s", "kongming-fist", 50000, 1000, "拳", 1000, 500, 500, 100, 10, 1, 10, 200, true, 10},
{"「云梯纵」", "e双手一挥,脚尖点地,一招「1云梯纵s」,瞬间变到了你的身后,使你的招数统统落空", "yunti-zong", 0, 1000, "无", 2, 2, 2, 2, 2, 3, 3, 0, false, 0},
{"「武当身法」", "你一招「2移步换行s」,双脚一用力,往旁边一闪,瞬间将e的招数躲了过去", "wudang-step", 0, 1000, "无", 0, 0, 0, 3, 0, 0, 0, 20, false, 0},
{"「先天太极」", "你运转先天真气,双掌回圈,顿时一波澎湃的气劲直袭e,正是所学6先天太极s之「4先天功法s」", "xiantian-taiji", 100000, 1000, "拳", 0, 0, 0, 3, 0, 5, 0, 20, true, 5},
};
sk ZhouBoTong_skills[7] = {
{"「昊天掌」", "e使一招「5海上明月s」,左手轻轻一挥,劈向你", "haotian-fist", 10000, 700, "拳", 2, 2, 2, 2, 2, 3, 3, 50, true, 3},
{"「太极剑」", "e虚步提腰,一招「6蜻蜓点水s」,手中q轻轻颤动,一剑剑点向你", "taiji-sword", 70000, 700, "剑", 10, 10, 10, 10, 10, 3, 3, 1, true, 2},
{"「太极拳」", "e左手回收,右手由钩变掌,由右向左,使一招「6提手上式s」,向你打来", "fist", 10000, 700, "拳", 10, 10, 10, 10, 2, 10, 1, 0, true, 5},
{"「空明拳」", "你凝神聚力,以极快的速度出拳\n\t4空明拳之
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
game.zip (59个子文件)
飞机大战.cpp 3KB
而非更多.exe 1.88MB
狙击镜讲解.cpp 273B
游戏1.exe 1.87MB
爆破游戏.exe 1.89MB
丧尸危机2.exe 1.99MB
射击游戏.cpp 37KB
游戏.bat 85B
龙的传人.cpp 199KB
飞机大战.bat 89B
丧尸危机2.cpp 55KB
无尽之剑.exe 1.95MB
无尽之剑.cpp 22KB
坦克大战.cpp 9KB
坦克大战.exe 1.89MB
坦克大战.bat 89B
爆破游戏.bat 89B
游戏2.cpp 8KB
爆破游戏.cpp 13KB
小镇V1.0.0.cpp 751B
游戏.exe 1.9MB
而非更多.bat 89B
给.exe 1.87MB
猜数游戏.bat 89B
呵呵呵呵呵.bat 91B
愤怒的小鸟.exe 1.9MB
呵呵呵呵呵.exe 1.87MB
飞机大战.exe 1.88MB
愤怒的小鸟.bat 91B
游戏2.exe 1.88MB
冒险游戏.exe 30KB
跑酷战斗.exe 1.95MB
youxi.exe 1.89MB
打怪游戏.exe 1.88MB
游戏.cpp 25KB
猜数游戏.cpp 970B
游戏2.bat 86B
冒险游戏.cpp 131B
冒险游戏.bat 89B
小镇V1.0.0.bat 91B
呵呵呵呵呵.cpp 179B
五子棋.cpp 9KB
丧尸危机存档.in 663B
游戏1.cpp 608B
愤怒的小鸟.cpp 25KB
给.cpp 417B
给.bat 83B
跑酷战斗.bat 89B
井字棋.cpp 26KB
无尽之剑.bat 89B
打怪游戏.cpp 9KB
猜数游戏.exe 31KB
跑酷战斗.cpp 45KB
游戏1.bat 86B
而非更多.cpp 749B
丧尸危机2.bat 90B
打怪游戏.bat 89B
小镇V1.0.0.exe 1.87MB
youxi.cpp 10KB
共 59 条
- 1
资源评论
- 爱编程的小芒果2024-07-12还可以吧,没有想象中那么好
锋利5钻石剑
- 粉丝: 111
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功