Ejemplo n.º 1
0
 public override void UseStyle(Player player)
 {
     if (player.altFunctionUse == 2)
     {
         return;
     }
     else
     {
         Hiweapons.CustRot(player, new Vector2(10, 54));
     }
 }
Ejemplo n.º 2
0
        public override void UseStyle(Player player)
        {
            Hiweapons.CustRot(player, new Vector2(15, 47));

            //can change when not slashing
            if (player.itemAnimation < 2 || player.itemAnimation > player.itemAnimationMax - 2)
            {
                item.useTurn = true;
            }
            else
            {
                item.useTurn = false;
            }
        }
Ejemplo n.º 3
0
        public override void AI()
        {
            Player projOwner = Main.player[projectile.owner];

            projOwner.heldProj         = projectile.whoAmI;
            projectile.rotation        = projOwner.itemRotation;
            projectile.direction       = projOwner.direction;
            projectile.spriteDirection = projOwner.direction;
            projectile.position        = projOwner.itemLocation;
            Hiweapons.CustRot(projOwner, projectile, new Vector2(15.5f, 0));
            if (!projOwner.channel)
            {
                projectile.Kill();
            }
        }
Ejemplo n.º 4
0
 public override void UseStyle(Player player)
 {
     Hiweapons.CustRot(player, new Vector2(8, 58));
 }