Skip to content

Commit

Permalink
better tooltips on some quest items
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Jan 22, 2024
1 parent 0b53c25 commit 68216b5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/game/inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function EquipmentSlot({
];
const otherEquippedItems = otherEquipmentSlots
.filter(
(otherSlot: Slots) => hero.equipment[otherSlot] && otherSlot !== slot
(otherSlot: Slots) => hero.equipment[otherSlot] && otherSlot !== slot,
)
.map((otherSlot: Slots) => hero.equipment[otherSlot]?.id);

Expand Down Expand Up @@ -431,7 +431,7 @@ function getEnchantmentDisplay(enchantment: string): string {
return "Ranged -20% Armor, 50% Double Shot";
break;
case "archers-balance":
return "+1 Ranged Weapon Tier, Ranged -20% Armor, 50% Double Shot";
return "+1 Ranged Weapon Tier, Ranged -20% Armor, +50% Second Attack";
break;
case "attackers-precision":
return "+30% Dexterity";
Expand Down Expand Up @@ -502,6 +502,12 @@ function getEnchantmentDisplay(enchantment: string): string {
case "void-vessel":
return "Select to show void travel";
break;
case "crafting-goggles":
return "Allows sorting and bulk crafting";
break;
case "heros-guidance":
return "+44% All Stats, -75% Enemy Enchantment Resist, -50% Enemy Armor, +1 Weapon Tier, +50% Ranged Second Attack, +Max gold";
break;

case EnchantmentType.BonusStrength:
return "+30% Strength";
Expand Down

0 comments on commit 68216b5

Please sign in to comment.