-
Notifications
You must be signed in to change notification settings - Fork 575
Create Rewards
Shops and enemies will give different reward. Each time an rewards object needs to be define, it has to have to define some fields. Example:
{
"type": "randomCard",
"probability": 1,
"count":1,
"addMaxCount":8,
"colors": ["red"],
"rarity": ["rare"],
"editions": ["M22","M21"],
"cardTypes": ["Instant","Creature"],
"colorType": "MultiColor",
"subTypes": ["Elf"]
"cardName":"",
"superTypes" :[]
}
Defines the type of reward.
possible types are:
randomCard
will create an random card from all possible cards.
deckCard
will draw cards from the defeated enemy.
card
will reward the player with a defined card.
gold
will reward the player with gold.
life
will increase the maximum life of the player.
The probability how likley the reward will appear.
default 1.
Get this reward at least "count" times.
default 1.
Get this reward up to additional "addMaxCount" times.
This means you will get the reward "count" to "addMaxCount" times.
default 0.
An array of the possible colors for randomCard
and deckCard
.
An array of the possible raritys for randomCard
and deckCard
.
An array of the possible editions for randomCard
and deckCard
.
An array of the possible cardTypes for randomCard
and deckCard
.
"Instant","Creature","Artifact" etc
An array of the possible subTypes for randomCard
and deckCard
.
Usually used for creature types
An array of the possible superTypes for randomCard
and deckCard
.
"Legendary", "Basic", "Snow"
An array of the possible colors for randomCard
and deckCard
.
The exact name for card
-
-
Gameplay Guide
-
Modding and Development
-
-
- Skins
- Music & Sounds
- Card Images
- File Formats