public void HandleCharacterWindowClicked(StoryWindowCharacterSlot character) { // The Three Witches if (currentStoryEvent.eventName == "The Three Witches") { // heal to full HP if (awaitingAskForHealthChoice) { character.myCharacterData.ModifyCurrentHealth(character.myCharacterData.maxHealth); } // gain a level else if (awaitingAskForWisdomChoice) { character.myCharacterData.ModifyCurrentXP(100); } ClearAllAwaitingOrders(); DisableCharacterPanelPage(); HideAllActionButtons(); EnableContinueButton(); } }
public void SetupStoryWindowCharacter(StoryWindowCharacterSlot characterSlot, CharacterData characterData) { characterSlot.InitializeSetup(characterData); }