Skip to content

Commit d938185

Browse files
Revert "Fixed appearance behaviours"
This reverts commit 44323f3.
1 parent ef4671e commit d938185

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
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.7.1.0</Version>
7+
<Version>1.7.0.0</Version>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<LangVersion>9.0</LangVersion>
1010
</PropertyGroup>

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Changelog
2-
## v1.7.1
3-
- Fixed appearanceBehaviour for NewCards.
4-
52
## v1.7
63
- Added support for custom abilities!
74

Plugin.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Plugin : BaseUnityPlugin
1414
{
1515
private const string PluginGuid = "cyantist.inscryption.api";
1616
private const string PluginName = "API";
17-
private const string PluginVersion = "1.7.1.0";
17+
private const string PluginVersion = "1.7.0.0";
1818

1919
internal static ManualLogSource Log;
2020

@@ -255,7 +255,9 @@ public NewCard(CardInfo card)
255255
Plugin.Log.LogInfo($"Loaded custom card {card.name}!");
256256
}
257257

258+
// TODO Implement a handler for custom appearanceBehaviour - in particular custom card backs
258259
// TODO Change parameter order, and function setter call order to make more sense
260+
// TODO Rename parameters to be more user friendly
259261
public NewCard(string name, List<CardMetaCategory> metaCategories, CardComplexity cardComplexity, CardTemple temple, string displayedName, int baseAttack, int baseHealth,
260262
string description = "",
261263
bool hideAttackAndHealth = false, int cost = 0, int bonesCost = 0, int energyCost = 0, List<GemType> gemsCost = null, SpecialStatIcon specialStatIcon = SpecialStatIcon.None,
@@ -318,10 +320,6 @@ public NewCard(string name, List<CardMetaCategory> metaCategories, CardComplexit
318320
}
319321
card.flipPortraitForStrafe = flipPortraitForStrafe;
320322
card.onePerDeck = onePerDeck;
321-
if (appearanceBehaviour is not null)
322-
{
323-
card.appearanceBehaviour = appearanceBehaviour;
324-
}
325323
card.hideAttackAndHealth = hideAttackAndHealth;
326324
if (tex is not null)
327325
{

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.7.1",
3+
"version_number": "1.7.0",
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)