minor fixes
This commit is contained in:
parent
5f0c2b0446
commit
ea32692481
@ -62,7 +62,7 @@ MonoBehaviour:
|
||||
m_Right: 0
|
||||
m_Top: 0
|
||||
m_Bottom: 0
|
||||
m_ChildAlignment: 2
|
||||
m_ChildAlignment: 4
|
||||
m_StartCorner: 0
|
||||
m_StartAxis: 0
|
||||
m_CellSize: {x: 0.5, y: 0.2}
|
||||
|
@ -20,7 +20,7 @@ MonoBehaviour:
|
||||
unitPrefa: {fileID: 7527582019267571087, guid: f102085e8bc4cad4992d43b84dee1055,
|
||||
type: 3}
|
||||
color: 3
|
||||
manaRegen: 5
|
||||
manaRegen: 1
|
||||
maxMana: 100
|
||||
maxHP: 100
|
||||
inventoryCapacity: 4
|
||||
|
@ -175,7 +175,7 @@ public class UnitView : MonoBehaviour
|
||||
|
||||
private IEnumerator Regen()
|
||||
{
|
||||
if (_mana >= 100) //TODO если пользовать ману во время регенерации, то мана не тратится.
|
||||
if (_mana >= 100)
|
||||
{
|
||||
yield break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user