Exemple #1
0
 private void ConfirmStatReset_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
 {
     CloseWindow();
     if (messageBoxButton == DaggerfallMessageBox.MessageBoxButtons.Yes)
     {
         EntityEffectManager playerEffectMgr = playerEntity.EntityBehaviour.GetComponent <EntityEffectManager>();
         playerEffectMgr.CureAllAttributes();
     }
 }