Is it possible to create a special weapon ? It has two types at once ? It has melee attack & long distance at once ?

Perhaps it can be done by giving a condition to the weapon and providing proper animation.

Because I see the potential for making such weapons, like
trowing weapons (1H Sword 1H Mace, & 1H Axe).
I see this weapon is pretty good, can attack enemy from far and near.

For example idea;
-
Polearm, who can also be used 2H & 1H. 2H when the left hand does not use anything. And 1H when the left hand using something.
Maybe it could be called Polearm [Lance].

What I just found was a sword weapon with a polearm model (Code: sturm_polearm). So it can be seen using a polearm with 1H.
-
Pistol / Shotgun, that can function like a sword (GunBlade). Attack enemies from afar as usual. When the enemy in close range strikes using a sword. Or like a rifle that uses bayonets, so he can attack nearby enemies.
Maybe it could be called Pistol / Shotgun [GunBlade].

-
Staff, that can strike like wand from a distance (attack distance: slightly more than wand) and when the enemy is near, attack using a staff. If I'm not mistaken I've seen someone (
RnF) make this, maybe it could be developed more. Like making
Orb / Book (Grimoare) weapons, it may be possible to use wand animation.
-
Shield, that can be used
as a weapon as well.
-
Whip, a flexible weapon with melee attack and has a medium / wide range attack.
-
Boomerang, weapons that can be thrown and can be returned to their owners