Combat Mechanics - CoolGuy28/DungeonHoard_GAME GitHub Wiki
Controls
- Arrow Keys - Navigate the overworld and menus.
- Z - Select
- X - Exit
- Esc - Exits to main menu
Combat Actions
- Attack - Makes a basic physical attack using the characters equipped weapon.
- Skills - Choose from a list of skills the character has which may be physical or magic and usually will cost an amount of energy.
- Guard - Gain an increased defence condition for until your next turn.
- Items - Choose from a shared list of items which can be used.
- Help - Target a downed ally helping them up and giving them 1 hit point.
Character Attacks
Yaya
- Lvl1 Skill: Knife Twist: Attack that causes bleeding.
- Lvl2 Skill: Hide: Gives hidden condition which stops enemies targeting you and give greater accuracy and crit on next attack.
- Lvl3 Skill: Stabbing Blade (3 small stabs to the enemy)
Krishna
- Lvl1 Skill: Shield Bash: Bashes enemies with shield uses attack bar, 50% chance of stunning the enemy.
- Lvl2 Skill: Bleeding Cut Down: Gives enemies “bleeding” condition.
- Lvl3 Skill: Fatal Blow: Very strong attack. On critical damage, if an enemy has 80% or less of their health, it’s an instant kill.
Amita
- Lvl1 Skill: Flesh Regrowth: Heals the target ally.
- Lv2 Skill: Ice Crystal: Ice magic that can potentially freeze an enemy for two turns.
- Lvl3 Skill: Firestorm: Targets entire team, and leads to a burning condition.
Player Physical Attack
When the player makes a physical attack a screen will pop up representing the characters ability to hit an enemy. It depicts a bar moving across a line and a yellow and red area. The size of the yellow and red area depends on the characters accuracy, critpercent and the enemies speed stat. If the player presses the input button the bar stops. If it stops in the yellow area its a hit and the enemy takes damage. If it stops in the red area its a crit and the enemy takes damage multiplied by the characters critMultiplyer. If the bar goes anywhere else or reaches the end of the line its a miss.
Magic System
Certain skills will be marked as magic skills. These skills when used increase a corruption value in the character that uses it. At certain thresholds in this corruption value will result in the character receiving mutation status effects which are detrimental to the character by reducing certain stats. A full corruption bar results in the character switching to the enemy team. The way to reduce this corruption bar and remove mutations is to perform cannibalism and consume items marked as human flesh.
Making magic attacks results in a bullethell minigame. When a unit uses a magic attack skill it is stored until the end of the teams turn. At the end of the teams turn a circle box will appear with a player icon inside and an arrow that can rotate around the circle. The arrow is controlled by the team which cast the magic attack and can shoot bullet patterns into the circle, if multiple units have casted magic attacks their patterns will be combined together. The player icon is controlled by the opposing team and must dodge the appearing bullet patterns in order to not take damage.
Character Stat Variables
- maxHealth - Sets the characters max health value. (Default:100)
- attack - Multiplies the damage dealt on physical attacks. (Default:1)
- defence - Multiplies the damage received by physical attacks eg. 0.6 = Higher Defence, 1.6 = Lower Defence. (Default:1)
- fireRes - Multiplies the damage received by fire damage attacks. (Default:1)
- poisonRes - Multiplies the damage received by poison damage attacks. (Default:1)
- coldRes - Multiplies the damage received by cold damage attacks. (Default:1)
- healingEffect - Multiplies healing value. (Default:1)
- accuracy - Determines the length of the accuracy bar when making physical attacks. (Default:1)
- speed - When an attack is mad speed is multiplied by their accuracy making it harder or easier to hit. (Default:1)
- critPercent - A percentage of the accuracy bar that would result in a critical hit eg. 0.1 = 10% of the accuracy bar is a crit. (Default:0.1)
- critMultiplier - Multiplies damage dealt on a critical hit (Default:1.6)