changed to rangedWeapon's constructor