Exemplo n.º 1
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Balmung");
     Tooltip.SetDefault("Himeko's Greatsword");
     glowSkillOff = Hiweapons.AddGlow("Balmung_off");
     glowSkillOn  = Hiweapons.AddGlow("Balmung_on");
 }
Exemplo n.º 2
0
 public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox)
 {
     if (player.altFunctionUse == 2)
     {
         noHitbox = true;
     }
     else
     {
         Hiweapons.CustSwingHitbox(player, ref hitbox, 62, 77);
     }
 }
Exemplo n.º 3
0
 public override void UseStyle(Player player)
 {
     if (player.altFunctionUse == 2)
     {
         return;
     }
     else
     {
         Hiweapons.CustRot(player, new Vector2(10, 54));
     }
 }
Exemplo n.º 4
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;
            }
        }
Exemplo n.º 5
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();
            }
        }
Exemplo n.º 6
0
 public override void SetStaticDefaults()
 {
     glowNorm = Hiweapons.AddGlow("Balmungp_off");
     glowCrit = Hiweapons.AddGlow("Balmungp_on");
 }
Exemplo n.º 7
0
 public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox)
 {
     Hiweapons.CustSwingHitbox(player, ref hitbox, 62, 77);
 }
Exemplo n.º 8
0
 public override void SetStaticDefaults()
 {
     DisplayName.SetDefault("Blood Dance");
     Tooltip.SetDefault("Himeko's Greatsword");
     glowID = Hiweapons.AddGlow("Blooddance_glow");
 }
Exemplo n.º 9
0
 public override void UseStyle(Player player)
 {
     Hiweapons.CustRot(player, new Vector2(8, 58));
 }