Update Encounters

NotDinoBits committed 2026-10-22 21:42:20 -05:00
1 parent 3514423c31
commit e76603aa13
1 file changed
+23 -2
+23 -2
@@ -1,6 +1,6 @@
Encounters consist of turn-based combat with the player vs. 1 or multiple enemies. In combat, the player and enemy must handle three stats: HP, Attack Power, and Mana. If every enemies HP drops to 0, the player wins. If the player's HP drops to 0, the player loses. Encounters consist of turn-based combat with the player vs. 1 or multiple enemies. In combat, the player and enemy must handle four stats: HP, Defense, Attack Power, and Mana. If every enemies HP drops to 0, the player wins. If the player's HP drops to 0, the player loses.
The player and enemies can take the same actions on their turn. Actions consist of using an ability, which are always available, and using single use resources/cards. Almost all actions cost Mana. Player and enemy Max Mana starts at 1, then increases by one at the beginning of each turn. Available Mana is set to the current Max Mana at the beginning of each turn. The player and enemies can take the same actions on their turn. Actions consist of using an ability, which are always available, and using single use resources/cards. 5 random resources/cards are selected from the player/enemies inventory at the start of combat, and one additional resource/card is drawn each turn. Almost all actions cost Mana. Player and enemy Max Mana starts at 1, then increases by one at the beginning of each turn. Available Mana is set to the current Max Mana at the beginning of each turn.
Action effects include: Action effects include:
- Dealing damage - Dealing damage
@@ -8,3 +8,24 @@ Action effects include:
- Healing HP - Healing HP
- Buffing Attack Power - Buffing Attack Power
- Adding Mana (Maybe?) - Adding Mana (Maybe?)
List of all actions
NOTE: All stats should be handled as integers only, and any modification to any stat should be done with addition or subtraction only
Dealing damage:
Some actions allow the attacker to deal damage to 1 or multiple enemies of their choice. The damage dealt is an integer calculated as the attackers Attack Power plus any modifiers added by the action - usually a buff - and modifiers added by the target - usually a debuff. The resulting damage is then subtracted from the targets HP.
Stretch Goal: Some attacks may inflict debuffs on the enemy, ranging from a poison effect to lowering the enemies Attack Power.
Reducing damage:
Some actions increase the attackers defense, some for one turn and others for the rest of combat. When targeted by an attack, the targets defense is subtracted from the incoming damage.
Healing HP:
Some actions increase the attackers current HP. These actions can be one-time effects or persistent for the rest of combat. HP can be healed up to the attackers Max HP.
Buffing Attack Power:
Some actions increase the attackers Attack Power, some for one turn, some for the rest of combat.