diff --git a/src/arguments.cc b/src/arguments.cc index 73cad55..6d848a5 100644 --- a/src/arguments.cc +++ b/src/arguments.cc @@ -217,7 +217,7 @@ Text-based commands:\n\ u [direction] : try to use the potion indicated by direction\n\ a [direction] : try to attack the enemy indicated by direction\n\ i : toggles inventory on and off\n\ - T [direction] : (in inventory) throw the selected potion towards direction\n\n\n\ + T [direction] : (in inventory) throw the selected potion towards direction\n\n\ ncurses-based commands:\n\ Basic commands:\n\ q : quits game (in inventory, close inventory)\n\ @@ -242,105 +242,105 @@ ncurses-based commands:\n\ < : go up the stairs\n"; const char *RACES_LIST = "\ -Shade (125 HP, 25 Atk, 25 Def, 1/1 Hit Rate):\n\ - The most basic race.\n\ -Drow (150 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ - All potions have their effect magnified by 1.5.\n\ -Vampire (50 HP, 25 Atk, 25 Def, 1/1 Hit Rate):\n\ - Gains 5 HP on every successful attack;\n\ - Has no maximum HP.\n\ -Troll (120 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ - Gains 5 HP every turn.\n\ -Goblin (110 HP, 15 Atk, 20 Def, 1/1 Hit Rate):\n\ - Gains an additional 5 gold from every slain enemy.\n\ -T-800 (800 HP, 40 Atk, 50 Def, 2/3 Hit Rate):\n\ - All potions will give it rusty joints.\n\ -Mr. Goose (130 HP, 25 Atk, 20 Def, never misses):\n\ - All potions are know at the beginning of the game;\n\ -Monk (125 HP (starts with 100 HP), 70 Atk, 0 Def, 1/1 Hit Rate):\n\ - Gains 2 HP every turn.\n\ -Tavern Brawler (120 HP, 20 Atk, 15 Def, 3/4 Hit Rate):\n\ - Has a 1/2 chance of attacking twice and 1/2 change of attacking three times.\n\ -Assassin (100 HP, 30 Atk, 10 Def, 1/1 Hit Rate):\n\ - Upon a successful hit, has a 1/10 chance of assassinating the target.\n"; +- Shade (125 HP, 25 Atk, 25 Def, 1/1 Hit Rate):\n\ + The most basic race.\n\n\ +- Drow (150 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ + All potions have their effect magnified by 1.5.\n\n\ +- Vampire (50 HP, 25 Atk, 25 Def, 1/1 Hit Rate):\n\ + Gains 5 HP on every successful attack;\n\ + Has no maximum HP.\n\n\ +- Troll (120 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ + Gains 5 HP every turn.\n\n\ +- Goblin (110 HP, 15 Atk, 20 Def, 1/1 Hit Rate):\n\ + Gains an additional 5 gold from every slain enemy.\n\n\ +- T-800 (800 HP, 40 Atk, 50 Def, 2/3 Hit Rate):\n\ + All potions will give it rusty joints.\n\n\ +- Mr. Goose (130 HP, 25 Atk, 20 Def, never misses):\n\ + All potions are know at the beginning of the game;\n\n\ +- Monk (125 HP (starts with 100 HP), 70 Atk, 0 Def, 1/1 Hit Rate):\n\ + Gains 2 HP every turn.\n\n\ +- Tavern Brawler (120 HP, 20 Atk, 15 Def, 3/4 Hit Rate):\n\ + Has a 1/2 chance of attacking twice and 1/2 change of attacking three times.\n\n\ +- Assassin (100 HP, 30 Atk, 10 Def, 1/1 Hit Rate):\n\ + Upon a successful hit, has a 1/10 chance of assassinating the target.\n"; const char *ENEMIES_LIST = "\ -Human 'H' (140 HP, 20 Atk, 20 Def, 1/2 Hit Rate):\n\ - Upon death, drops 2 normal piles of gold.\n\ -Dwarf 'W' (100 HP, 20 Atk, 30 Def, 1/2 Hit Rate):\n\ - Vampires are allergic to them.\n\ -Elf 'E' (140 HP, 30 Atk, 10 Def, 1/2 Hit Rate):\n\ - Gets two attacks against every race except drow.\n\ -Orc 'O' (180 HP, 30 Atk, 25 Def, 1/2 Hit Rate):\n\ - Does 50% more damage to goblins.\n\ -Merchant 'M' (30 HP, 70 Atk, 5 Def, 1/2 Hit Rate):\n\ - Starts out neutral to all characters, can be angered by PC.\n\ -Dragon 'D' (150 HP, 20 Atk, 20 Def, 1/2 Hit Rate):\n\ - Always guards a treasure hoard.\n\ -Halfling 'L' (100 HP, 15 Atk, 20 Def, 1/2 Hit Rate):\n\ - Has an additional 50% chance to dodge PC's attack.\n\ -Viking 'V' (150 HP, 30 Atk, 25 Def, 1/3 Hit Rate):\n\ - Gets two attacks against every race.\n\ -Swordsman 'S' (100 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ - Attacks with finess.\n\ -Leprechaun 'l' (80 HP, 10 Atk, 15 Def, 1/2 Hit Rate):\n\ - Steals 3 pieces of gold from PC with every successful attack;\n\ - If PC doesn't have enough gold, hit instead with a strong attack of fixed Atk;\n\ - Upon death, drops all stolen gold plus 5 extra.\n\ -Witch 'Z' (100 HP, 20 Atk, 15 Def, 1/2 Hit Rate):\n\ - Upon a successful hit, has a 1/5 chance of applying a random potion onto PC.\n\ -Hacker 'h' (90 HP, 15 Atk, 30 Def, 1/2 Hit Rate):\n\ - He has been in grinding in MC for too long.\n\ -Baby Dragon 'B' (140 HP, 20 Atk, 40 Def, 1/3 Hit Rate):\n\ - Not fully grown, can move;\n\ - Immune to all potions.\n"; +- Human 'H' (140 HP, 20 Atk, 20 Def, 1/2 Hit Rate):\n\ + Upon death, drops 2 normal piles of gold.\n\n\ +- Dwarf 'W' (100 HP, 20 Atk, 30 Def, 1/2 Hit Rate):\n\ + Vampires are allergic to them.\n\n\ +- Elf 'E' (140 HP, 30 Atk, 10 Def, 1/2 Hit Rate):\n\ + Gets two attacks against every race except drow.\n\n\ +- Orc 'O' (180 HP, 30 Atk, 25 Def, 1/2 Hit Rate):\n\ + Does 50% more damage to goblins.\n\n\ +- Merchant 'M' (30 HP, 70 Atk, 5 Def, 1/2 Hit Rate):\n\ + Starts out neutral to all characters, can be angered by PC.\n\n\ +- Dragon 'D' (150 HP, 20 Atk, 20 Def, 1/2 Hit Rate):\n\ + Always guards a treasure hoard.\n\n\ +- Halfling 'L' (100 HP, 15 Atk, 20 Def, 1/2 Hit Rate):\n\ + Has an additional 50% chance to dodge PC's attack.\n\n\ +- Viking 'V' (150 HP, 30 Atk, 25 Def, 1/3 Hit Rate):\n\ + Gets two attacks against every race.\n\n\ +- Swordsman 'S' (100 HP, 25 Atk, 15 Def, 1/1 Hit Rate):\n\ + Attacks with finess.\n\n\ +- Leprechaun 'l' (80 HP, 10 Atk, 15 Def, 1/2 Hit Rate):\n\ + Steals 3 pieces of gold from PC with every successful attack;\n\ + If PC doesn't have enough gold, hit instead with a strong attack of fixed Atk;\n\ + Upon death, drops all stolen gold plus 5 extra.\n\n\ +- Witch 'Z' (100 HP, 20 Atk, 15 Def, 1/2 Hit Rate):\n\ + Upon a successful hit, has a 1/5 chance of applying a random potion onto PC.\n\n\ +- Hacker 'h' (90 HP, 15 Atk, 30 Def, 1/2 Hit Rate):\n\ + He has been in grinding in MC for too long.\n\n\ +- Baby Dragon 'B' (140 HP, 20 Atk, 40 Def, 1/3 Hit Rate):\n\ + Not fully grown, can move;\n\ + Immune to all potions.\n"; const char *POTIONS_LIST = "\ -Restore Health (RH):\n\ - Instantly restore 5 HP.\n\ -Boost Atk (BA):\n\ - Increase ATK by 5 until exiting the level.\n\ -Boost Def (BD):\n\ - Increase DEF by 5 until exiting the level.\n\ -Poison Health (PH):\n\ - Instantly deduct 5 HP.\n\ -Wound Atk (WA):\n\ - Decrease ATK by 5 until exiting the level.\n\ -Wound Def (BD):\n\ - Decrease DEF by 5 until exiting the level.\n\ -Continuous Restoration (CR):\n\ - Restores 3 HP every turn for 5 turns.\n\ -Savage Strike (SS):\n\ - Gets 1.25x basic ATK multiplier;\n\ - Gets 0.8x basic hit rate multiplier;\n\ - Lasts 20 turns.\n\ -Echoing Resilience (ER):\n\ - Restores 7 HP every turn;\n\ - Decrease basic ATK by 10;\n\ - Decrease basic DEF by 10;\n\ - Lasts 20 turns.\n\ -Tempest Tantrum (TT):\n\ - Instantly loses 25% of current HP;\n\ - Gets 3x final ATK multiplier;\n\ - Gets 0.5x final DEF multiplier;\n\ - Lasts 12 turns.\n\ -Bezerk Brew (BB):\n\ - Gets 2x basic ATK multiplier;\n\ - Gets 0.5x basic DEF multiplier;\n\ - Lasts 15 turns.\n\ -Borrow Life (BL):\n\ - Gains 50 HP upon use (can go over racial limit)\n\ - Loses 55 HP after 24 turns.\n\ -Fine Booze (FB):\n\ - Restores 2 HP every turn;\n\ - Gets 0.7x final hit rate multiplier;\n\ - Gives tavern brawlers the ability to never miss;\n\ - Lasts 12 turns.\n\ -Ironclad Ward (IW):\n\ - Gets 0.5x final ATK multiplier;\n\ - Gets 3x final DEF multiplier;\n\ - Gets 0.75x final hit rate multiplier;\n\ - Lasts 12 turns.\n"; +- Restore Health (RH):\n\ + Instantly restore 5 HP.\n\n\ +- Boost Atk (BA):\n\ + Increase ATK by 5 until exiting the level.\n\n\ +- Boost Def (BD):\n\ + Increase DEF by 5 until exiting the level.\n\n\ +- Poison Health (PH):\n\ + Instantly deduct 5 HP.\n\n\ +- Wound Atk (WA):\n\ + Decrease ATK by 5 until exiting the level.\n\n\ +- Wound Def (BD):\n\ + Decrease DEF by 5 until exiting the level.\n\n\ +- Continuous Restoration (CR):\n\ + Restores 3 HP every turn for 5 turns.\n\n\ +- Savage Strike (SS):\n\ + Gets 1.25x basic ATK multiplier;\n\ + Gets 0.8x basic hit rate multiplier;\n\ + Lasts 20 turns.\n\n\ +- Echoing Resilience (ER):\n\ + Restores 7 HP every turn;\n\ + Decrease basic ATK by 10;\n\ + Decrease basic DEF by 10;\n\ + Lasts 20 turns.\n\n\ +- Tempest Tantrum (TT):\n\ + Instantly loses 25% of current HP;\n\ + Gets 3x final ATK multiplier;\n\ + Gets 0.5x final DEF multiplier;\n\ + Lasts 12 turns.\n\n\ +- Bezerk Brew (BB):\n\ + Gets 2x basic ATK multiplier;\n\ + Gets 0.5x basic DEF multiplier;\n\ + Lasts 15 turns.\n\n\ +- Borrow Life (BL):\n\ + Gains 50 HP upon use (can go over racial limit)\n\ + Loses 55 HP after 24 turns.\n\n\ +- Fine Booze (FB):\n\ + Restores 2 HP every turn;\n\ + Gets 0.7x final hit rate multiplier;\n\ + Gives tavern brawlers the ability to never miss;\n\ + Lasts 12 turns.\n\n\ +- Ironclad Ward (IW):\n\ + Gets 0.5x final ATK multiplier;\n\ + Gets 3x final DEF multiplier;\n\ + Gets 0.75x final hit rate multiplier;\n\ + Lasts 12 turns.\n"; void print_list(feature which) { if (which & FEATURE_LIST_ARGS)