seamuskills / rpg-combat-durability Goto Github PK
View Code? Open in Web Editor NEWthe github project for my repl.it project: "rpg combat durability"!
the github project for my repl.it project: "rpg combat durability"!
https://rpg-combat-durability.seamusdonahue.repl.run <Link to the game. # rpg-combat-durability the github project for my repl.it project: "rpg combat durability"! I made this project because I wanted to challenge myself to use python classes in a useful way! it became really fun to develope and eventually I added durability! the original game didn't have durability, you can find that version in my repl.it profile (seamusDonahue) under the name rpg combat lite. I saw durability as a big enough change that I forked the project to make this one eventually I abandoned the old project and kept updating this! thats when a repl user by the name of funnylamma joined me for developement (his current repl profile is called thewaydu). from there I just kept adding features untill we have what we have here, where I made a github for it! #gameplay -- in this game you can heal change weapon flee and attack during combat then buy stuff in the shop between battles #ac system ac works like this: ac is a nubmer between 1 and 0 (being a decimal percentage.) if the enemy ac is bigger then your weapons ap, (in the code mislabeled as hitchance) the enemy will not take their ac percent of damage (so 0.5 would absord 50% damage) if the enemies ac is lower then your weapons ap, the enemy absorbs half of their ac in damage (so 0.5 will only absorb 25% of all damage) these rules also apply to you #levels you get xp every fight for winning (not for fleeing, coward!) when you level up your hp goes up along with your xp on top of that you get bonus gold depending on the level (lvl 1 gives 100, lvl 2 give 200 ect) #food food will heal you up to full hp during a fight (i do plan on updating this in the future so don't be suprised if this info becomes inaccurate) everytime you goto the shop you may buy some! everytime you buy food it goes up by half its cost (so 50 in half is 25 so the new price is 75) #weapons and durability all weapons do different damage, have different flavor text and have different durability when durability runs out, your weapon breaks and you need to equip anew! #tnt tnt is a special kind of weapon. it has 1 durability (referred to ingame as the ammount you have) and everytime you buy it, it gains a durability point it does high damage but is expensive #cheat codes when naming yourself, you can name yourself many things that do stuff. I call these cheat codes! warning! achievement progress cannot be saved if you use cheats oh you want me to tell you what they are? find out yourself ;) #more update scoming soon! #most importantly have fun! Ps: We are currently working on a new save file so we can actually save your game progress, hopefully it will be released soon.
I have been thinking about it for a while, I would like to add rings.
rings have temporary buffs. my Idea is you can buy 4 kinds of rings, unenchanted, armor, health, regeneration.
more rings can be added later.
you may only equip one, but own as many as you like (but only one of each type).
current ring variant ideas:
armor: temporary ap bonus (ring degrades over a certain amount of turns)
health: temporary maxhp upgrade, degrades whenever hurt (when equipped it restores your percentage of hp so if you had 50/100 going to 150 maxhp your current hp would be changed to 75hp)
regeneration: every combat turn regens 5% of your hp, low durability, degrades every turn.
unenchanted: this is what degraded rings turn into, you may enchant them in the shop to turn into a random other ring type, this is the only type directly purchasable
this is planned unless you veto it. feedback on my ideas is appreciated!
This could maybe be in interesting discord bot, I know how to make bots on discord. This could be RPG bot.
These are more ideas,
Ideas for updates!
Necklaces
Grenade Bow
Armor.
Ability to save your progress.
Monster Drops
Collectible Items.
Helmet
This is a very minor bug, but when you repair a weapon in the shop, it turns the welcome to the shop text green.
We probably will need an actual hash/encryption algorithm for save files. the current one isn't very hard to crack and so anyone can spend less than a minute decoding and deleting the file.
I will do some research on it later when I have time, I just wanted to post this issue outlining what we need
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.