public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) { int height = 98; int length = 100; ModSabres.UseItemHitboxCalculate(player, item, ref hitbox, ref noHitbox, 0.9f, height, length); }
public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) { int height = 64; int length = 84; if (item.noGrabDelay > 0) { length = 164; player.meleeDamage += 2f; } ModSabres.UseItemHitboxCalculate(player, item, ref hitbox, ref noHitbox, 0.9f, height, length); }
public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) { int height = 100; int length = 100; if (item.noGrabDelay > 0) { length = 228; height = 140; } ModSabres.UseItemHitboxCalculate(player, item, ref hitbox, ref noHitbox, 0.9f, height, length); }
public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) { int height = 94; int length = 104; ModSabres.UseItemHitboxCalculate(player, item, ref hitbox, ref noHitbox, 0.9f, height, length); if (ModSabres.SabreIsChargedStriking(player, item)) { player.meleeDamage += 2f; noHitbox = player.itemAnimation < player.itemAnimationMax - 10; } }