refactoring

This commit is contained in:
Беляев Даниил 2022-03-03 18:23:02 +03:00
parent 835ba6d5d6
commit 9473298345
32 changed files with 1785 additions and 2366 deletions

Binary file not shown.

View File

@ -10,7 +10,6 @@ public class Card : MonoBehaviour
[SerializeField] public CardConfig cardConfig; [SerializeField] public CardConfig cardConfig;
private CardCharacteristics _card; private CardCharacteristics _card;
[Space(3)] [Space(3)]
[HideInInspector] public int number; [HideInInspector] public int number;
@ -23,17 +22,10 @@ public class Card : MonoBehaviour
[SerializeField] private Text type; [SerializeField] private Text type;
[SerializeField] private Text quantity; [SerializeField] private Text quantity;
//этот колхоз надо переделать 100 процентов
[HideInInspector] int localquantityStamina = 0;
[HideInInspector] int localquantityHealth = 0;
[HideInInspector] int localdamage = 0;
[HideInInspector] int localaddHealth = 0;
[HideInInspector] int localaddStamina = 0;
[HideInInspector] int localaddArmor = 0;
private void Start() private void Start()
{ {
SaveStartCharacterisics(cardObject); //SaveStartCharacterisics(cardObject);
CheckLevel(cardObject); CheckLevel(cardObject);
picture.sprite = cardConfig.CardCharacteristics.picture; picture.sprite = cardConfig.CardCharacteristics.picture;
_card = cardConfig.CardCharacteristics; _card = cardConfig.CardCharacteristics;
@ -125,49 +117,21 @@ public class Card : MonoBehaviour
} }
} }
public void SaveStartCharacterisics(GameObject _card)
{
var _cardCharacteristics = _card.GetComponent<Card>().cardConfig.CardCharacteristics;
localquantityStamina = _cardCharacteristics.quantityStamina;
localquantityHealth = _cardCharacteristics.quantityHealth;
localdamage = _cardCharacteristics.damage;
localaddHealth = _cardCharacteristics.addHealth;
localaddStamina = _cardCharacteristics.addStamina;
localaddArmor = _cardCharacteristics.addArmor;
}
public void CheckLevel(GameObject _card) public void CheckLevel(GameObject _card)
{ {
// Мне за это стыдно, но в голову иных варинтов не приходит if(_card.GetComponent<Card>().cardConfig.improvedLevel)
var _cardCharacteristics = _card.GetComponent<Card>().cardConfig.CardCharacteristics;
if (_cardCharacteristics.improvedLevel is true)
{ {
_cardCharacteristics.quantityStamina = _cardCharacteristics.quantityStamina2; _card.GetComponent<Card>().cardConfig.CardCharacteristics = _card.GetComponent<Card>().cardConfig.CardCharacteristicslvl2;
_cardCharacteristics.quantityHealth = _cardCharacteristics.quantityHealth2; }
_cardCharacteristics.damage = _cardCharacteristics.damage2; else
_cardCharacteristics.addHealth = _cardCharacteristics.addHealth2; {
_cardCharacteristics.addStamina = _cardCharacteristics.addStamina2; _card.GetComponent<Card>().cardConfig.CardCharacteristics = _card.GetComponent<Card>().cardConfig.CardCharacteristicslvl1;
_cardCharacteristics.addArmor = _cardCharacteristics.addArmor2;
} }
}
public void ResetCardCharacteristic(GameObject _card)
{
var _cardCharacteristics = _card.GetComponent<Card>().cardConfig.CardCharacteristics;
_cardCharacteristics.quantityStamina = localquantityStamina;
_cardCharacteristics.quantityHealth = localquantityHealth;
_cardCharacteristics.damage = localdamage;
_cardCharacteristics.addHealth = localaddHealth;
_cardCharacteristics.addStamina = localaddStamina;
_cardCharacteristics.addArmor = localaddArmor;
} }
public void DestroyObject() public void DestroyObject()
{ {
ResetCardCharacteristic(cardObject);
Destroy(cardObject); Destroy(cardObject);
//Camera.main.GetComponent<DeckManager>().CardInTable.RemoveAt(number);
} }
} }

View File

@ -7,7 +7,12 @@ using System.Collections.Generic;
[CreateAssetMenu(fileName = "CardConfig", menuName = "Configs/CardConfig")] [CreateAssetMenu(fileName = "CardConfig", menuName = "Configs/CardConfig")]
public class CardConfig : ScriptableObject public class CardConfig : ScriptableObject
{ {
public CardCharacteristics CardCharacteristics; [Header("Level")]
public bool improvedLevel;
[HideInInspector] public CardCharacteristics CardCharacteristics;
public CardCharacteristics CardCharacteristicslvl1;
public CardCharacteristics CardCharacteristicslvl2;
} }
[Serializable] [Serializable]
@ -47,9 +52,6 @@ public class CardCharacteristics
[Tooltip("specialization is necessary for the right choice of goals")] [Tooltip("specialization is necessary for the right choice of goals")]
public Specialization specialization; public Specialization specialization;
[Header("Level")]
public bool improvedLevel;
[Header("Cost")] [Header("Cost")]
public int quantityStamina; public int quantityStamina;
public int quantityHealth; public int quantityHealth;
@ -74,19 +76,5 @@ public class CardCharacteristics
} }
public ListEffects[] effects; public ListEffects[] effects;
[Header("Cost")]
[Header("SecondLevelCharacteristic")]
public int quantityStamina2;
public int quantityHealth2;
[Space]
[Header("Damage")]
public int damage2;
[Space]
[Header("Effects")]
public int addHealth2;
public int addStamina2;
public int addArmor2;
} }

View File

@ -12,12 +12,38 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: AddStamina m_Name: AddStamina
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 1
CardCharacteristics: CardCharacteristics:
cardName: Add stamina cardName: Add Stamina
picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3} picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3}
description: this is horosho description:
specialization: 2
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 2
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Add Stamina
picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3}
description:
specialization: 2
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 1
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName: Add Stamina
picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3}
description:
specialization: 2 specialization: 2
improvedLevel: 1
quantityStamina: 0 quantityStamina: 0
quantityHealth: 0 quantityHealth: 0
damage: 0 damage: 0
@ -26,9 +52,3 @@ MonoBehaviour:
addArmor: 0 addArmor: 0
enemyCount: 0 enemyCount: 0
effects: [] effects: []
quantityStamina2: 0
quantityHealth2: 0
damage2: 0
addHealth2: 0
addStamina2: 2
addArmor2: 0

View File

@ -12,14 +12,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: BigHealing m_Name: BigHealing
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Big Healing cardName: Big Healing
picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3} picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3}
description: This is big healing description:
specialization: 2 specialization: 2
quantityStamina: 2 quantityStamina: 2
quantityHealth: 0 quantityHealth: 0
damage: 0 damage: 0
addHealth: 5 addHealth: 8
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Big Healing
picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3}
description:
specialization: 2
quantityStamina: 2
quantityHealth: 0
damage: 0
addHealth: 8
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,6 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: GrenadeLauncher m_Name: GrenadeLauncher
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Grenade Launcher cardName: Grenade Launcher
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3} picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
@ -23,3 +24,31 @@ MonoBehaviour:
addHealth: 0 addHealth: 0
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Grenade Launcher
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description:
specialization: 1
quantityStamina: 2
quantityHealth: 0
damage: 5
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 2
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,12 +12,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: LongSmallDamage m_Name: LongSmallDamage
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Long small damage cardName: Long Small Damage
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3} picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description: description:
specialization: 1 specialization: 1
improvedLevel: 0
quantityStamina: 1 quantityStamina: 1
quantityHealth: 0 quantityHealth: 0
damage: 3 damage: 3
@ -29,9 +29,32 @@ MonoBehaviour:
- effect: 0 - effect: 0
turns: 2 turns: 2
damage: 1 damage: 1
quantityStamina2: 0 CardCharacteristicslvl1:
quantityHealth2: 0 cardName: Long Small Damage
damage2: 0 picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
addHealth2: 0 description:
addStamina2: 0 specialization: 1
addArmor2: 0 quantityStamina: 1
quantityHealth: 0
damage: 3
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects:
- effect: 0
turns: 2
damage: 1
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,15 +12,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: MassiveDamage m_Name: MassiveDamage
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Massive Damage cardName: Massive Damage
picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3} picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3}
description: Dealing damage to all enemies on the table description:
specialization: 1 specialization: 1
quantityStamina: 2 quantityStamina: 2
quantityHealth: 0 quantityHealth: 0
damage: 4 damage: 3
addHealth: 0 addHealth: 0
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 3 enemyCount: 3
effects: []
CardCharacteristicslvl1:
cardName: Massive Damage
picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3}
description:
specialization: 1
quantityStamina: 2
quantityHealth: 0
damage: 3
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 3
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,12 +12,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: MeleeSmallDamage m_Name: MeleeSmallDamage
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Melee small damage cardName: Melee Small
picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3} picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3}
description: This is small damage description:
specialization: 0 specialization: 0
improvedLevel: 0
quantityStamina: 1 quantityStamina: 1
quantityHealth: 0 quantityHealth: 0
damage: 5 damage: 5
@ -25,13 +25,30 @@ MonoBehaviour:
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0 enemyCount: 0
effects: effects: []
- effect: 0 CardCharacteristicslvl1:
turns: 1 cardName: Melee Small
damage: 1 picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3}
quantityStamina2: 0 description:
quantityHealth2: 0 specialization: 0
damage2: 0 quantityStamina: 1
addHealth2: 0 quantityHealth: 0
addStamina2: 0 damage: 5
addArmor2: 0 addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,6 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: RangerPunch m_Name: RangerPunch
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Punch cardName: Punch
picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3} picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3}
@ -24,3 +25,30 @@ MonoBehaviour:
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0 enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Ranger Punch
picture: {fileID: 21300000, guid: 81903c5799d202f458fd2fa30bb13cd9, type: 3}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 4
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,6 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: RangerReload m_Name: RangerReload
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Reload cardName: Reload
picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3} picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3}
@ -24,3 +25,30 @@ MonoBehaviour:
addStamina: 1 addStamina: 1
addArmor: 0 addArmor: 0
enemyCount: 0 enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: 'Reload '
picture: {fileID: 21300000, guid: 11194064875365e48be6ed64b065cb41, type: 3}
description:
specialization: 2
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 1
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,6 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: RangerRepair m_Name: RangerRepair
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Repair cardName: Repair
picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3} picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3}
@ -24,3 +25,30 @@ MonoBehaviour:
addStamina: 0 addStamina: 0
addArmor: 5 addArmor: 5
enemyCount: 0 enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: 'Repair '
picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3}
description:
specialization: 2
quantityStamina: 1
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 5
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,8 +12,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: RangerShot m_Name: RangerShot
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Shot cardName: 'Shot '
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3} picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description: description:
specialization: 1 specialization: 1
@ -24,3 +25,30 @@ MonoBehaviour:
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0 enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: 'Shot '
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description:
specialization: 1
quantityStamina: 1
quantityHealth: 0
damage: 7
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,11 +12,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: RangerVolley m_Name: RangerVolley
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Vooley cardName: 'Volley '
picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3} picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3}
description: Massive attack description:
specialization: 1 specialization: 0
quantityStamina: 2 quantityStamina: 2
quantityHealth: 0 quantityHealth: 0
damage: 5 damage: 5
@ -24,3 +25,30 @@ MonoBehaviour:
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 3 enemyCount: 3
effects: []
CardCharacteristicslvl1:
cardName: 'Volley '
picture: {fileID: 21300000, guid: 9e63c26e66e64e841b4b52c94e08a31b, type: 3}
description:
specialization: 0
quantityStamina: 2
quantityHealth: 0
damage: 5
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 3
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,10 +12,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: SmallArmor m_Name: SmallArmor
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Small Armor cardName: Small Armor
picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3} picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3}
description: This is small armor description:
specialization: 2 specialization: 2
quantityStamina: 1 quantityStamina: 1
quantityHealth: 0 quantityHealth: 0
@ -23,3 +24,31 @@ MonoBehaviour:
addHealth: 0 addHealth: 0
addStamina: 0 addStamina: 0
addArmor: 2 addArmor: 2
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Small Armor
picture: {fileID: 21300000, guid: 7ab8624721af8974b9d81950d6603da1, type: 3}
description:
specialization: 2
quantityStamina: 1
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 2
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,10 +12,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: SmallHealing m_Name: SmallHealing
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Small healing cardName: Small Healing
picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3} picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3}
description: This is small healing description:
specialization: 2 specialization: 2
quantityStamina: 1 quantityStamina: 1
quantityHealth: 0 quantityHealth: 0
@ -23,3 +24,31 @@ MonoBehaviour:
addHealth: 3 addHealth: 3
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Small Healing
picture: {fileID: 21300000, guid: 8e806042cc9fab349a847987c076f85d, type: 3}
description:
specialization: 2
quantityStamina: 1
quantityHealth: 0
damage: 0
addHealth: 3
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

View File

@ -12,14 +12,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3} m_Script: {fileID: 11500000, guid: 9c4c6a3d3a1809644803be5d2cb70212, type: 3}
m_Name: SniperRifle m_Name: SniperRifle
m_EditorClassIdentifier: m_EditorClassIdentifier:
improvedLevel: 0
CardCharacteristics: CardCharacteristics:
cardName: Sniper Rifle cardName: Sniper Rifle
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3} picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description: description:
specialization: 1 specialization: 1
quantityStamina: 3 quantityStamina: 1
quantityHealth: 0 quantityHealth: 0
damage: 20 damage: 7
addHealth: 0 addHealth: 0
addStamina: 0 addStamina: 0
addArmor: 0 addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl1:
cardName: Sniper Rifle
picture: {fileID: 21300000, guid: 49fd699074bfe8742b2664b5fd5b5396, type: 3}
description:
specialization: 1
quantityStamina: 1
quantityHealth: 0
damage: 7
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []
CardCharacteristicslvl2:
cardName:
picture: {fileID: 0}
description:
specialization: 0
quantityStamina: 0
quantityHealth: 0
damage: 0
addHealth: 0
addStamina: 0
addArmor: 0
enemyCount: 0
effects: []

Binary file not shown.

View File

@ -19,7 +19,7 @@ MonoBehaviour:
width: 1920 width: 1920
height: 997 height: 997
m_ShowMode: 4 m_ShowMode: 4
m_Title: Project m_Title: Game
m_RootView: {fileID: 6} m_RootView: {fileID: 6}
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
@ -45,8 +45,8 @@ MonoBehaviour:
y: 30 y: 30
width: 1920 width: 1920
height: 947 height: 947
m_MinSize: {x: 679, y: 492} m_MinSize: {x: 679, y: 342}
m_MaxSize: {x: 14002, y: 14042} m_MaxSize: {x: 12004, y: 8042}
vertical: 0 vertical: 0
controlID: 17 controlID: 17
--- !u!114 &3 --- !u!114 &3
@ -112,7 +112,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 1 m_EditorHideFlags: 1
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: ProjectBrowser m_Name: ConsoleWindow
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Children: [] m_Children: []
m_Position: m_Position:
@ -121,14 +121,14 @@ MonoBehaviour:
y: 589 y: 589
width: 1531 width: 1531
height: 358 height: 358
m_MinSize: {x: 231, y: 271} m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 10001, y: 10021} m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 14} m_ActualView: {fileID: 19}
m_Panes: m_Panes:
- {fileID: 14} - {fileID: 14}
- {fileID: 19} - {fileID: 19}
m_Selected: 0 m_Selected: 1
m_LastSelected: 1 m_LastSelected: 0
--- !u!114 &6 --- !u!114 &6
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
@ -224,8 +224,8 @@ MonoBehaviour:
y: 0 y: 0
width: 1531 width: 1531
height: 947 height: 947
m_MinSize: {x: 403, y: 492} m_MinSize: {x: 403, y: 342}
m_MaxSize: {x: 10001, y: 14042} m_MaxSize: {x: 8003, y: 8042}
vertical: 1 vertical: 1
controlID: 68 controlID: 68
--- !u!114 &10 --- !u!114 &10
@ -369,22 +369,22 @@ MonoBehaviour:
m_SkipHidden: 0 m_SkipHidden: 0
m_SearchArea: 1 m_SearchArea: 1
m_Folders: m_Folders:
- Assets/Scripts - Assets/Scripts/Configs/CardConfigs
m_Globs: [] m_Globs: []
m_OriginalText: m_OriginalText:
m_ViewMode: 1 m_ViewMode: 1
m_StartGridSize: 64 m_StartGridSize: 64
m_LastFolders: m_LastFolders:
- Assets/Scripts - Assets/Scripts/Configs/CardConfigs
m_LastFoldersGridSize: -1 m_LastFoldersGridSize: -1
m_LastProjectPath: "E:\\Projects \u0441#\\Unity\\omega" m_LastProjectPath: "E:\\Projects \u0441#\\Unity\\omega"
m_LockTracker: m_LockTracker:
m_IsLocked: 0 m_IsLocked: 0
m_FolderTreeState: m_FolderTreeState:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: 3e470000 m_SelectedIDs: 52470000
m_LastClickedID: 18238 m_LastClickedID: 18258
m_ExpandedIDs: 000000002a4700003447000000ca9a3b m_ExpandedIDs: 000000002a4700003e470000424700005247000000ca9a3b
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
@ -437,8 +437,8 @@ MonoBehaviour:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_ResourceFile: m_ResourceFile:
m_ListAreaState: m_ListAreaState:
m_SelectedInstanceIDs: m_SelectedInstanceIDs: d0b5ffff
m_LastClickedInstanceID: 0 m_LastClickedInstanceID: -18992
m_HadKeyboardFocusLastEvent: 1 m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000 m_ExpandedInstanceIDs: c6230000
m_RenameOverlay: m_RenameOverlay:
@ -533,9 +533,9 @@ MonoBehaviour:
m_SceneHierarchy: m_SceneHierarchy:
m_TreeViewState: m_TreeViewState:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: 480a0000 m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: m_ExpandedIDs: 76b9ffff96660000a8660000c2660000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
@ -741,11 +741,11 @@ MonoBehaviour:
m_DrawArea: m_DrawArea:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 21
width: 1150 width: 1150
height: 568 height: 547
m_Scale: {x: 0.47916666, y: 0.47916666} m_Scale: {x: 0.47916666, y: 0.4791667}
m_Translation: {x: 575, y: 284} m_Translation: {x: 575, y: 273.5}
m_MarginLeft: 0 m_MarginLeft: 0
m_MarginRight: 0 m_MarginRight: 0
m_MarginTop: 0 m_MarginTop: 0
@ -753,9 +753,9 @@ MonoBehaviour:
m_LastShownAreaInsideMargins: m_LastShownAreaInsideMargins:
serializedVersion: 2 serializedVersion: 2
x: -1200 x: -1200
y: -592.6957 y: -570.7826
width: 2400 width: 2400
height: 1185.3914 height: 1141.5652
m_MinimalGUI: 1 m_MinimalGUI: 1
m_defaultScale: 0.47916666 m_defaultScale: 0.47916666
m_LastWindowPixelSize: {x: 1150, y: 568} m_LastWindowPixelSize: {x: 1150, y: 568}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -859,3 +859,23 @@ C# parse time : 128ms
candidates check time : 40ms candidates check time : 40ms
console write time : 0ms console write time : 0ms
[api-updater (non-obsolete-error-filter)] 03.03.2022 17:38:46 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 301,6594ms
moved types parse time: 39ms
candidates parse time : 9ms
C# parse time : 205ms
candidates check time : 45ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 03.03.2022 18:14:45 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 58,6308ms
moved types parse time: 37ms
candidates parse time : 7ms
C# parse time : 123ms
candidates check time : 35ms
console write time : 0ms

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,5 +2,3 @@ Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown Cmd: shutdown
Quitting shader compiler process

View File

@ -2,5 +2,3 @@ Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown Cmd: shutdown
Quitting shader compiler process

View File

@ -2,5 +2,3 @@ Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown Cmd: shutdown
Quitting shader compiler process