private void SetupPlayer(PlayerInfo player) { player.thisCharacter.damagePlus = 0; player.thisCharacter.armorPlus = 0; player.thisCharacter.moving = false; player.thisCharacter.dead = false; player.thisCharacter.currentMaxHP = player.thisCharacter.maxHP; player.thisCharacter.currentHP = player.thisCharacter.maxHP; player.thisCharacter.currentAp = player.thisCharacter.maxAp; player.thisCharacter.currentMp = player.thisCharacter.maxMp; player.thisCharacter.damageChange = 0; player.thisCharacter.armorChange = 0; player.thisCharacter.healsReceived = 0; player.thisCharacter.heavy = false; spellCast.HandleCooldownReset(player.thisCharacter.spell_1); spellCast.HandleCooldownReset(player.thisCharacter.spell_2); spellCast.HandleCooldownReset(player.thisCharacter.spell_3); spellCast.HandleCooldownReset(player.thisCharacter.spell_4); spellCast.HandleCooldownReset(player.thisCharacter.spell_5); spellCast.HandleCooldownReset(player.thisCharacter.spell_6); }