Giter Club home page Giter Club logo

betterrewardsmod's People

Contributors

skrelpoid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

betterrewardsmod's Issues

Some Screens not closeable

If a relic purchase opens a screen, the close button may not appear. User has to click the map to escape the shop.
Witnessed with: Cauldron -> Dolly's Mirror

Fix code to find screenless relics and special relics

Copy available relics to new List. Remove boss relics with screens from copy. Shuffle or choose random from list. If result is null, return new Circlet.
Same for special relics.

Fixes issue that it lags when there are not many boss relics or special relics left

Error when clikcing the green treasure

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.megacrit.cardcrawl.dungeons.AbstractDungeon.returnTrulyRandomColorlessCard()Lcom/megacrit/cardcrawl/cards/AbstractCard;
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:133)
Caused by: java.lang.NoSuchMethodError: com.megacrit.cardcrawl.dungeons.AbstractDungeon.returnTrulyRandomColorlessCard()Lcom/megacrit/cardcrawl/cards/AbstractCard;
at skrelpoid.betterrewards.shop.LootboxShopItem.getForRoll(LootboxShopItem.java:164)
at skrelpoid.betterrewards.shop.LootboxShopItem.onPurchase(LootboxShopItem.java:83)
at skrelpoid.betterrewards.shop.AbstractShopItem.tryPurchase(AbstractShopItem.java:127)
at skrelpoid.betterrewards.shop.AbstractShopItem.update(AbstractShopItem.java:113)
at skrelpoid.betterrewards.BetterRewardsMod.updateShopItems(BetterRewardsMod.java:149)
at skrelpoid.betterrewards.patches.ShopScreenPatches$UpdateShopItems.Insert(ShopScreenPatches.java:26)
at com.megacrit.cardcrawl.shop.ShopScreen.update(ShopScreen.java:561)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2673)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:892)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:465)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.