2022-01-12 10:06:03 +03:00
|
|
|
|
using System;
|
|
|
|
|
using UnityEditor;
|
|
|
|
|
using UnityEngine;
|
2022-01-13 23:33:21 +03:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
2022-01-12 10:06:03 +03:00
|
|
|
|
|
|
|
|
|
[CreateAssetMenu(fileName = "CardConfig")]
|
|
|
|
|
public class CardConfig : ScriptableObject
|
|
|
|
|
{
|
|
|
|
|
public CardCharacteristics CardCharacteristics;
|
|
|
|
|
}
|
|
|
|
|
[Serializable]
|
2022-01-14 10:42:43 +03:00
|
|
|
|
public enum Specialization
|
|
|
|
|
{
|
|
|
|
|
meleeAtack,
|
|
|
|
|
longAttack,
|
|
|
|
|
healing
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
[Serializable]
|
2022-01-12 10:06:03 +03:00
|
|
|
|
public class CardCharacteristics
|
|
|
|
|
{
|
|
|
|
|
public string cardName;
|
|
|
|
|
public Sprite picture;
|
|
|
|
|
[TextArea(3, 6)]
|
|
|
|
|
public string description;
|
2022-01-14 10:42:43 +03:00
|
|
|
|
[Tooltip("specialization is necessary for the right choice of goals")]
|
|
|
|
|
public Specialization specialization;
|
|
|
|
|
|
2022-01-12 10:06:03 +03:00
|
|
|
|
[Header("Cost")]
|
|
|
|
|
public int quantityStamina;
|
|
|
|
|
public int quantityHealth;
|
|
|
|
|
[Space]
|
|
|
|
|
[Header("Damage")]
|
|
|
|
|
public int damage;
|
|
|
|
|
[Space]
|
|
|
|
|
[Header("Effects")]
|
|
|
|
|
public int healing;
|
2022-01-13 16:15:53 +03:00
|
|
|
|
public int addStamina;
|
2022-01-12 10:06:03 +03:00
|
|
|
|
[Space]
|
|
|
|
|
[Header("DON'T WORKING")]
|
|
|
|
|
public int armor;
|
|
|
|
|
}
|