BaseMod icon indicating copy to clipboard operation
BaseMod copied to clipboard

A card with the same method call is incorrectly initialized

Open K1110n opened this issue 6 years ago • 1 comments

I've been working on a mod to implement a character, cards, relics, etc. Except that there's this one card I really need for the base deck of this character that keeps crashing the game on launch. The debugger says it's an incorrect call, but I double checked the call method and know it's the exact same as the other three cards that are called and created before it. I've tried changing the file and class name, the ID string and even changing the CardStrings.NAME variable (the one that grabs the card ID). Nothing seems to fix this issue, but the game will run fine if I don't include it.

The only real difference between this card and the others is that it's a skill card without a block amount variable, yet has a magic number. I did copy and paste some of the variables from another file, but that was mostly to try to save time and effort.

K1110n avatar Jan 19 '19 18:01 K1110n

Actually, scratch that, it's anything that wasn't in the base code over the last 12 hours or so, returns a NullPointerException reference right now. Either the BaseMod got updated and it broke something internally or somehow my copy of it isn't the newest version.

K1110n avatar Jan 19 '19 21:01 K1110n