Exemplo n.º 1
0
 public bool strengthenSummon()
 {
     monsterGO = GameObject.FindGameObjectWithTag(monsterPlayer);
     if (skills[6].getCdLeft() == 0 && manaCheck(skills[6]) && monsterGO != null)
     {
         ms = monsterGO.GetComponent <MonsterStats>();
         ms.setStats(strSummonAtk, strSummonHP);
         player.loseMP(skills[6].getMana());
         skills[6].setCooldown();
         return(true);
     }
     return(false);
 }