Beispiel #1
0
 public void beforeBossConversion()
 {
     if (manaBar.Value + healthBar.Value > healthBar.MaxValue)
     {
         healthBar.boostMaxValue(manaBar.Value + healthBar.Value);
     }
     else
     {
         healthBar.addValue(manaBar.Value);
     }
     manaBar.addValue(-manaBar.Value);
 }