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