private static void DoAwakeningWish() { DBTPlayer modPlayer = Main.LocalPlayer.GetModPlayer <DBTPlayer>(); modPlayer.AwakeningWishesLeft -= 1; modPlayer.ChangeMastery(modPlayer.AcquiredTransformations.Keys.Last(), 1f); menuVisible = false; modPlayer.WishActive = false; }
public override void OnPlayerMasteryChanged(DBTPlayer dbtPlayer, float change, float currentMastery) { dbtPlayer.ChangeMastery(TransformationDefinitionManager.Instance.SSJ1, change); }