示例#1
0
 public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox)
 {
     if (!AltStats(player))
     {
         ModPlayerFists.UseItemHitbox(player, ref hitbox, fistHitboxSize, fistJumpVelo, 0.5f, 14f);
     }
     else
     {
         ModPlayerFists.UseItemHitbox(player, ref hitbox, altHitboxSize, altJumpVelo, 0.5f, 14f,
                                      ModPlayerFists.MovingInDash());
     }
 }