protected override void Consume(GameObject player)
        {
            //Debug.Log("Player consumed an oxygen crystal");
            CombatEntity combatEntity = player.GetComponent <CombatEntity>();

            combatEntity.ChangeCombatStat(CombatStatType.HealthPoint, healingValue);
        }
Beispiel #2
0
        protected override void Consume(GameObject player)
        {
            //Debug.Log("Player consumed a caffeine");
            CombatEntity combatEntity = player.GetComponent <CombatEntity>();

            combatEntity.ChangeCombatStat(CombatStatType.CombatPoint, enhancedValue);
        }