Beispiel #1
0
    protected override void Start()
    {
        base.Start();
        currentCharacter = TargetCharacter.Player;

        abilitiesState = PlayerAbilitiesState.UnBlocked;

        healthPoint    = save.HealthPoint;
        maxHealthPoint = save.maxHealthPoint;
        damage         = save.damage;
        agility        = save.agility;
        healingPer     = save.healingPer;
        armorBuffPer   = save.armorBuffPer;
        armor          = save.armor;
    }
Beispiel #2
0
 public void BlockButtons()
 {
     abilitiesState = PlayerAbilitiesState.Blocked;
 }
Beispiel #3
0
 public void UnBlockButtons()
 {
     abilitiesState = PlayerAbilitiesState.UnBlocked;
     canvas.GetComponent <ButtonControl>().ChangeButtonToUnPressed();
 }