MADH95 / JSONLoader

Plugin to add cards to Inscryption using JSON files
13 stars 12 forks source link

Add ability to add or remove card appearance in Configils #71

Open SaxbyMod opened 2 months ago

SaxbyMod commented 2 months ago

So essentially added to the ChangeAppearence in Configils would be a field that determines what appearance to add or remove similar to the Decals code but for appearances. [This should also be under @JamesVeug's Trait setup too]

Reason: image In the image is an encounter that plays static cards and when the static cards come into play they are turned into a random card from the game excluding giant cards. When they are played they should also lose the static appearance, however they don't by default. Hense the request.

Setup Idea:

{
  "name": "Random card placement",
  "GUID": "Random.Encounters",
  "opponentUsable": true,
  "isSpecialAbility": true,
  "abilityBehaviour": [
    {
      "trigger": {
        "triggerType": "OnResolveOnBoard"
      },
      "transformCards": [
        {
          "card": {
            "randomCardOnCondition": "true"
          }
        }
      ]
      "changeAppearance": [
        "AddAppearence": [ "StaticGlitch" ],
        "RemoveAppearence": ["StaticGlitch"]
      ]
    }
  ]
}

Remove Appearance could probably have a "all" that one can enter which would remove all appearances from the card, same case with the remove decals as well.