zuelong / save-the-spire

A save editor for the game Slay the Spire
16 stars 13 forks source link

Bottled relics #19

Closed ntower closed 6 years ago

ntower commented 6 years ago

Adds support for bottled relics. Fixes issue #17

Also, i fixed a bug that i introduced wherein search did not work on the relics tab (it worked on the cards tab)

ntower commented 6 years ago

Screen cap of the highlights for bottled cards:

capture

ntower commented 6 years ago

And screen caps of the modals:

capture2

capture3

zuelong commented 6 years ago

Awesome! Merging and deploying.

I tested the code out, everything seems to be working great!

My only concern was that the bottled relics correspond to specific card types, Flame being attack, Lightning being skill, Tornado being power. However, it doesn't look like the game cares which type of card the specific relic has chosen (it didnt crash my game at least).

I'm going to dig around in the game code this weekend and see how they determine which type each card is because it isnt specified in the JSON. This might be something we can play with in the future.