//takes information from card and gives it to player void PassStats(Player playerIn, PlayerCard temp, out Profile playerOut) { playerIn.hpMax = temp.health; playerIn.enduranceMax = temp.maxStamina; playerIn.enduranceRegen = temp.stamRegen; playerIn.AddAttackOption(temp.attack_1); playerIn.AddAttackOption(temp.attack_2); playerIn.AddAttackOption(temp.attack_3); playerIn.AddAttackOption(temp.meditate_1); playerIn.AddAttackOption(temp.meditate_2); playerIn.AddAttackOption(temp.meditate_3); playerIn.AddDefendOption(temp.defend_1); playerIn.AddDefendOption(temp.defend_2); playerIn.AddDefendOption(temp.defend_3); playerIn.name = temp.name; playerIn.chiPoints = temp.level; playerOut = playerIn; }