The railroad spike would be like a secondary thats a melee weapon and a ranged weapon with a feature to make it different from other weapons,
Left Mouse Button is the Hammer, Right Mouse Button is the Spike
Click for basic attack, hold for atleast one second and release for charged attack
Railroad Spike:
A small railroad spike held in your right hand with a charged attack and basic attack.
Basic attack has a short melee range and does 15 base damage.
Charged attack does 30 damage with a medium melee range and does 30 base damage, Charged attack also implants a Railroad Spike in the enemy and puts a icon above the enemy when spike is implanted as well as applies the element you put on the secondary.
Hammer:
A slightly rusty hammer with a sandy leather grip held in your left hand with a ranged attack.
Basic attack is a ranged attack where you hit a spike mid-air and it launches the spike at a enemy for 10 base damage.
Charged attack makes the user wind up a hammer strike, When you hit a enemy with the hammer it does 20 base damage, But when you hit a enemy with the hammer with a spike implanted in them, the hammer's damage gets tripled and applies the element you put on the secondary.
Unique Joker Idea for the Railroad Spike
Tetanus (Level 30 Joker)
The ranged attack for the Hammer applies the element you put on the secondary and doubles the Hammer's basic attack damage
Resonance (Level 40 Joker)
When a implanted spike is struck with a charged Hammer attack, Every enemy around the hit enemy within 10 meters gets hit with the charged attack damage 2X'ed and applies the element on the secondary to every enemy that gets hit.