Kitteh6660 / Corruption-of-Champions-Mod

CoC source from fenoxo, modded by Kitteh6660
233 stars 98 forks source link

[Bug] Cannot Get Girtho+ #1455

Closed mangaman9000 closed 5 years ago

mangaman9000 commented 5 years ago

I have checked the following before submitting this issue:

Overview

Girtho+ was recently added to the game (based on the email about the latest update). When you go to Lumi's shop, it doesn't display anything that says Girtho+. A second GoldenSeed button is lite up (when I have Gro+ and no Golden Seeds), but clicking it does not (just display a blank screen with the options still below).

Game version

1.4.18

Expected behaviour

The button should be for Girtho+ and I should be able to click it, pay the 100 gems, and exchange the Gro+ for Girtho+.

Actual behaviour

The button that lite up while having Gro+ in inventory is GoldenSeed (and there is another button next to it that says the same thing, but it is grayed out). Clicking the button displays blank in the text window. Once you go back to the main menu and back into Enhance, the option is grayed out and display Gro+ as the button. It is possible that 100 gems are removed as well (I didn't keep track of the gem count when I did it).

How often can this be reproduced?

Everytime.

Steps to reproduce the issue

  1. Get Gro+ and 100 gems
  2. Explorer until you get to Lumi's shop
  3. Go to "Enhance" menu
  4. Select GoldenSeed

As a note, after I backed out and went back in to Enhanced (to write this steps), the GoldenSeed now says GroPlus and is grayed out. The description is for Gro+. Checking my Inventory, I no longer have a Gro+ and didn't get a Girtho+.

Looking at the code (under classes/classes/Scenes/Explore/Lumi.as), I see on line 126 - 128 is where the Girtho+ should be for Lumi. If the player has a Gro+, it displays the GoldenSeed consumables (line 127). The rest of the code seems to relate to the Gro+. In the same ActionScript line 170, it is looking for Girtho+ (GIRTHOP) to be the consumed item (which should be GROPLUS) in exchange for the Girtho+. Then it seems to stop at line 178 (clearOutput();) as it doesn't display any text and I don't get the item (most likely due to the line 170 issue). Not sure if it took the 100 gems or not.