Details

Last Updated
2 years ago
First Uploaded
2 years ago
Downloads
32K
Likes
3
Size
7.5KB
Dependency string
Nevernamed-Graveyard_Manager-1.0.0
Dependants

Categories

Graveyard Manager

This mod serves to store and track a list of what cards have died so far in a battle, allowing for other mods to utilise this list for sigil effects. Works in every act.

How to Use

To use the Graveyard Manager, you will need to add it as a project reference in visual studio, and add 'using GraveyardHandler;' to the top of the relevant file/s. With that done, you can use 'GraveyardManager.instance.playerGraveyard' to access a list of all cards which have died in the hand, or the player's side of the board. You can also use 'GraveyardManager.instance.opponentGraveyard' to access a list of all cards that have died on the opponent's side of the board, or in the opponent's backlane. The last core feature of the Graveyard Manager is 'GraveyardManager.instance.GetCardsDiedInSlot(cardslot)', which returns a list of all cardinfos which have perished in the specified carslot, independant of the main graveyard lists.

Important to note, GraveyardManager.instance only exists in card battles, trying to access it outside of battles will lead to a null error.

Mod Guid - nevernamed.inscryption.graveyardhandler

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.