Fixed nekomancer Modules
A few of nekomancer's older cards had custom modules which would occasionally apply trait/virtue modifiers to the entire class. It's a fun idea, but each of the modules had the same set of problems:
- If the card with the module dies or is removed from the class in some way while the effect was active, the effect became permanent.
- A global variable was used to keep track of whether the effect was active or not. If you quicksaved while the effect was active and then reloaded that save, the global would reset to it's default value i.e. not active, and so the effect would remain active rather than deactivating during the next period.
- The module would try to add/remove the modifiers without first checking if the seat was filled.
To address the problems I've done the following:
- A new trigger was added to ensure that the the modifiers are removed from the class if the card with the module is destroyed.
- The global variable keeping track of whether the effect is active or not was changed to a card storage variable instead.
- Unfilled seats are skipped when looping over the class to add or remove modifiers.
The 4 cards that these modules apply to are:
-
You must be registered to see the links
-
You must be registered to see the links
-
You must be registered to see the links
-
You must be registered to see the links
These modules were specifically made for those 4 cards, so unless you have the cards or plan on downloading them it doesn't make much sense to download these fixed versions of their modules since the modules won't work correctly without further modification.
All credit to
You must be registered to see the links
for creating the cards/modules.