Skip to content

Commit 5797722

Browse files
v1.8.2 fix appearance behaviours (again)
1 parent ccec638 commit 5797722

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<AssemblyName>API</AssemblyName>
66
<Description>An API for inscryption</Description>
7-
<Version>1.8.1.0</Version>
7+
<Version>1.8.2.0</Version>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<LangVersion>9.0</LangVersion>
1010
</PropertyGroup>

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## v1.8.2
3+
- Fixed appearanceBehaviour (again).
4+
25
## v1.8.1
36
- Fix pixelTex dimensions.
47

Plugin.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class Plugin : BaseUnityPlugin
1515
{
1616
private const string PluginGuid = "cyantist.inscryption.api";
1717
private const string PluginName = "API";
18-
private const string PluginVersion = "1.8.1.0";
18+
private const string PluginVersion = "1.8.2.0";
1919

2020
internal static ManualLogSource Log;
2121

@@ -178,6 +178,10 @@ public static void Add(string name, List<CardMetaCategory> metaCategories, CardC
178178
}
179179
card.flipPortraitForStrafe = flipPortraitForStrafe;
180180
card.onePerDeck = onePerDeck;
181+
if (appearanceBehaviour is not null)
182+
{
183+
card.appearanceBehaviour = appearanceBehaviour;
184+
}
181185
card.hideAttackAndHealth = hideAttackAndHealth;
182186
if (tex is not null)
183187
{

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "API",
3-
"version_number": "1.8.1",
3+
"version_number": "1.8.2",
44
"website_url": "https://github.com/ScottWilson0903/InscryptionAPI",
55
"description": "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.",
66
"dependencies": [

0 commit comments

Comments
 (0)