1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00

fixed Orb Energy orb desc and Air charges

This commit is contained in:
Zeno Rogue 2024-05-29 13:51:53 +02:00
parent b482dabb84
commit 448397ab1d

View File

@ -546,10 +546,11 @@ EX string generateHelpForItem(eItem it) {
if(among(it, itOrbMorph)) ac = 3; if(among(it, itOrbMorph)) ac = 3;
if(among(it, itOrbIllusion)) ac = 5; if(among(it, itOrbIllusion)) ac = 5;
if(among(it, itOrbDragon)) ac = 5; if(among(it, itOrbDragon)) ac = 5;
if(among(it, itOrbAir)) ac = 1;
if(ac) { if(ac) {
if(items[itOrbEnergy]) if(items[itOrbEnergy])
help += XLAT("\n\nActivation cost: %1 charges (reduced to %2 by %the3)\n", its(ac), " ", its((1+ac)/2), itOrbEnergy); help += XLAT("\n\nActivation cost: %1 charges (reduced to %2 by %the3)\n", its(ac), its((1+ac)/2), itOrbEnergy);
else else
help += XLAT("\n\nActivation cost: %1 charges\n", its(ac)); help += XLAT("\n\nActivation cost: %1 charges\n", its(ac));
} }