
I'm in the middle making a weapon but I cannot make a combination range weapon a melee weapon, without writing the script and I'm not too good at that. It's similar to the Stargate weapon of the Ori.
Crys-staff Weapon (Weapon, Exotic, Ranged)
Cost: ?
Dmg (M): 1d12; alternatively as quarterstaff
Range Increment: 100ft
Weight: 10lbs
Type: Force
The Crys-staff Weapon is a heavy ranged weapon that fires bolts of fire energy (Force). It fires at the rate of one shot per attack roll for 20 rounds, and then must recharge for 1d6 rounds before being used again. After 1d100+50 recharges it becomes inert until a new power cell (cost 1200gp) is inserted.
A Crys-staff weapon must be armed (as a minor action) before use. Disarming a staff weapon is a free action. The act of charging a staff weapon can be used to give a +5 bonus to an Intimidate check.
A Crys-staff, charged or discharged, may be used as a Quarterstaff using the standard stats for such a weapon.
If somebody who does not have the appropriate Exotic Weapons Proficiency feat attempts to fire a Crys-staff weapon and misses on their attack roll, there is a 20% chance of their hitting a undesired target for half damage, and a 5% chance of hitting an undesired target for full damage.