andye456 / RandomRooms

0 stars 0 forks source link

Add the fighting methods #1

Open andye456 opened 4 years ago

andye456 commented 4 years ago

Using branch: TextBased_ADD_Rules If a player comes across another character then they'll have the ability to fight. If the character is an enemy then the enemy may strike first. Hit points are used when the character attacks, when a players hit points reach zero they die.

andye456 commented 4 years ago

Fighting updated, it uses your base hit points and adds or subtracts 1 depending on your constitution. The same is done for an opponent. The fight takes place turn by turn, you going first with suspicious characters. The damage is a random number based on your/their weapon min and max with a addition based on your/their strength. Also added the option to see your own strengths and current hit_points. The fight goes on until you either stop attacking or one of you is defeated. If defeated then the game restarts.

andye456 commented 4 years ago

Add the turn-based fighting method - so each character has a turn and their success is based on the probability as described below. The probability of the hit being successful is based on the characters armour or shield. Add the probability of the hit being successful using the dexterity characteristic. Add the ability to heal by drinking potions - this will const you a turn though. Add the ability to heal based on time/rest.

Josephe456 commented 4 years ago

Add a more dynamic, turn-based combat system; similar to Pokemon. Enemies take it in turns to perform an action on their turn, with different types of actions to be performed such as an attack, using an item (potions, etc.) or to perform a spell. Can be made more dynamic via the different types of actions involved, such as an attack that takes two turns to charge up but does more damage, or with an accuracy system that requires players to risk missing their opponent for a higher-damage attack.

Josephe456 commented 4 years ago

Also, attacks could temporarily influence enemies' base stats, such as an attack that reduces an opponents dexterity or strength; or an attack that increases the player's stats in a similar way.