PO/Assets/Scripts/Configs/CardConfig.cs

43 lines
923 B
C#

using System;
using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[CreateAssetMenu(fileName = "CardConfig")]
public class CardConfig : ScriptableObject
{
public CardCharacteristics CardCharacteristics;
}
[Serializable]
public enum Specialization
{
meleeAtack,
longAttack,
healing
};
[Serializable]
public class CardCharacteristics
{
public string cardName;
public Sprite picture;
[TextArea(3, 6)]
public string description;
[Tooltip("specialization is necessary for the right choice of goals")]
public Specialization specialization;
[Header("Cost")]
public int quantityStamina;
public int quantityHealth;
[Space]
[Header("Damage")]
public int damage;
[Space]
[Header("Effects")]
public int healing;
public int addStamina;
[Space]
[Header("DON'T WORKING")]
public int armor;
}