Exemplo n.º 1
0
        public override void Kill(int timeLeft)
        {
            Player player = Main.player[projectile.owner];

            Transformations.DoTransform(player, Transformations.SSJ3, DBZMOD.instance, false);
            MyPlayer.ModPlayer(player).IsTransforming = false;
        }
Exemplo n.º 2
0
        public override void Kill(int timeLeft)
        {
            Player player = Main.player[projectile.owner];

            Transformations.DoTransform(player, Transformations.SSJG, DBZMOD.instance, false);
            MyPlayer.ModPlayer(player).IsTransforming = false;
            SoundUtil.PlayCustomSound("Sounds/SSJAscension");
        }
Exemplo n.º 3
0
        public override void Kill(int timeLeft)
        {
            Player player = Main.player[projectile.owner];

            if (!MyPlayer.ModPlayer(player).IsPlayerLegendary())
            {
                Transformations.DoTransform(player, Transformations.SSJ2, DBZMOD.instance, false);
                MyPlayer.ModPlayer(player).IsTransforming = false;
            }
            else
            {
                Projectile.NewProjectile(player.Center.X - 40, player.Center.Y + 90, 0, 0, mod.ProjectileType("LSSJAuraBall"), 0, 0, player.whoAmI);
                // this being set to false prior to the aura ball dying tells it to go LSSJ instead of LSSJ2 - weird choice, but I'm not going to argue with it.
                MyPlayer.ModPlayer(player).IsTransforming = false;
            }
        }