TeamDoodz-YAER icon

YAER

Yet Another Enemy Replacer

Last updated 2 years ago
Total downloads 586
Total rating 2 
Categories Cards Tweaks Act I
Dependency string TeamDoodz-YAER-0.1.2
Dependants 1 other package depends on this package

This mod requires the following mods to function

API_dev-API-1.12.1 icon
API_dev-API

This plugin is a BepInEx plugin made for Inscryption as an API. It can currently create custom cards and abilities and inject them into the data pool, or modify existing cards in the card pool.

Preferred version: 1.12.1
BepInEx-BepInExPack_Inscryption-5.4.1701 icon
BepInEx-BepInExPack_Inscryption

BepInEx pack for Inscryption. Preconfigured and ready to use.

Preferred version: 5.4.1701
TeamDoodz-TDLib-1.1.0 icon
TeamDoodz-TDLib

An assortment of methods used by most of my Inscryption mods.

Preferred version: 1.1.0

README

YAER

YAER (Yet Another Enemy Replacer) is a mod that allows Leshy to use modded cards during battle. It differs from other mods that achieve this in that instead of making Leshy play cards completely at random, there is some strategy involved.

How it works

When a round begins, a turn plan is generated. This turn plan is a list of turns, with each turn being a list of cards. After this plan is generated, YAER will replace all cards in that plan via the following algorithm:

  1. First, create a list of all modded cards
  2. Remove all cards from that list that are not for Act 1
  3. If the card to replace is rare, remove all non-rare cards from the list.
  4. If the card to replace has zero attack, remove all cards with an attack greater than 0. a. Alternatively, if the card has an attack greater than 1 remove all cards with an attack of 0.
  5. Remove all unobtainable cards
  6. Remove all cards with sigils unusable by the opponent.
  7. Remove all cards with the Transformer sigil (because they are too OP)
  8. If the card to replace has the Evolve sigil, remove all cards that do not have it. (by default this step will be skipped)
  9. Remove all spell cards.
  10. Replace the card with a random card from the above list.
  11. If the replaced card synergizes with gems, play a random gem alongside it.
  12. If the replaced card synergizes with conduits, play two null conduits on the next turn.

Changelog

0.1.2

  • "Fixed" an error with some cards

0.1.1

  • Removed dependancy to Spell Card Toolkit
  • Leshy will no longer play unobtainable cards

0.1.0

  • Initial Release