Skip to content

Commit 6d548cf

Browse files
changed to be compatible for v1.8
1 parent 170d256 commit 6d548cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private void AddBears(){
4242
Texture2D tex = new Texture2D(2,2);
4343
tex.LoadImage(imgBytes);
4444

45-
new NewCard("Eight_Bears", metaCategories, CardComplexity.Simple, CardTemple.Nature,"8 fucking bears!",32,48,description:"Kill this abomination please",cost:3,appearanceBehaviour:appearanceBehaviour, tex:tex);
45+
NewCard.Add("Eight_Bears", metaCategories, CardComplexity.Simple, CardTemple.Nature,"8 fucking bears!",32,48,description:"Kill this abomination please",cost:3,appearanceBehaviour:appearanceBehaviour, tex:tex);
4646
}
4747

4848
private NewAbility AddAbility()
@@ -70,7 +70,7 @@ private NewAbility AddAbility()
7070

7171
private void ChangeWolf(Ability ability){
7272
List<Ability> abilities = new List<Ability> {ability};
73-
new CustomCard("Wolf", baseAttack:10, abilities:abilities);
73+
new CustomCard("Wolf") {baseAttack=10, abilities=abilities};
7474
}
7575

7676
public class NewTestAbility : AbilityBehaviour

lib/API.dll

-512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)